Skip to content

Instantly share code, notes, and snippets.

@Davoleo
Created March 16, 2019 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Davoleo/ee56c80f5817dc82de041588d895bdb7 to your computer and use it in GitHub Desktop.
Save Davoleo/ee56c80f5817dc82de041588d895bdb7 to your computer and use it in GitHub Desktop.
Git commands to remove ignored files from the remote repository
git rm -r --cached <file/directory>
git commit -m '<commit message>'
git push <remote> <branch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment