Skip to content

Instantly share code, notes, and snippets.

@ubermachine
Created June 11, 2020 15:23
Show Gist options
  • Save ubermachine/418d226125f1cadc4c7e8519216b3135 to your computer and use it in GitHub Desktop.
Save ubermachine/418d226125f1cadc4c7e8519216b3135 to your computer and use it in GitHub Desktop.
Remove previously commited Files after initializing .gitignore
#Add .gitignore file and update it then do this-
git rm -r --cached .
git add .
git commit -m "remove gitignore files"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment