Skip to content

Instantly share code, notes, and snippets.

@sabarasaba
Created July 10, 2012 02:19
Show Gist options
  • Save sabarasaba/3080590 to your computer and use it in GitHub Desktop.
Save sabarasaba/3080590 to your computer and use it in GitHub Desktop.
Remove directory from remote repository after adding them to .gitignore
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin master
@tgarijo
Copy link

tgarijo commented Jul 15, 2019

Thank You!!

@kor1k
Copy link

kor1k commented Aug 21, 2019

Thank you, it works fine!

@juampi92
Copy link

Thanks a lot man!

@sabarasaba
Copy link
Author

@juampi92 You look hot with that dog, can I take you on a date?

@juampi92
Copy link

@sabarasaba with me or with the dog?

@sabarasaba
Copy link
Author

@juampi92 yes

@clockshark
Copy link

worked for me..thanks

Copy link

ghost commented Oct 1, 2019

@juampi92 yes

Please let us know how the date went.

@bilalix
Copy link

bilalix commented Nov 12, 2019

Thanks!

@personalaccount
Copy link

thanks :)

@misakimichy
Copy link

Thank you!!!!

@abdalmoez
Copy link

Thanks!!!!!!

@crazyoptimist
Copy link

Thanks

@DEEP0521
Copy link

Thank you it's really helpful

@TamaraTorres
Copy link

thanks!!!

@pawellesniowski
Copy link

thanks a million!!!

@joctorres13
Copy link

thank you!

@DragonflyNet67
Copy link

Thank you, exactly what I was looking for

@luislortega
Copy link

Nice TY dude.

@giovanialtelino
Copy link

I always need to search for it, guess If I comment, it will rank better at the searches. ;)

@AlbertBeweb
Copy link

Thank you !!

@Nour963
Copy link

Nour963 commented Oct 14, 2020

Thanks!

@HumayunNaseer
Copy link

<3

@DHBuild002
Copy link

Boom, worked like a charm for clearing my parcel cache. Removed it from the Remote Repo too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment