Skip to content

Instantly share code, notes, and snippets.

@ChechoCZ
Last active February 11, 2020 15:00
Show Gist options
  • Save ChechoCZ/3913b91e787a1b325f745e841c1a07a8 to your computer and use it in GitHub Desktop.
Save ChechoCZ/3913b91e787a1b325f745e841c1a07a8 to your computer and use it in GitHub Desktop.
Remove directory from repository added to .gitignore
git rm -r --cached directory_name
git commit -m 'Remove the now ignored directory directory_name'
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment