Skip to content

Instantly share code, notes, and snippets.

@yuv4ik
Created February 15, 2018 15:11
Show Gist options
  • Save yuv4ik/453b9ef014ca6eb3760ce3327817f8ee to your computer and use it in GitHub Desktop.
Save yuv4ik/453b9ef014ca6eb3760ce3327817f8ee to your computer and use it in GitHub Desktop.
Sync .gitignore changes
/*
* First commit any outstanding code changes before executing this command.
* Source: https://stackoverflow.com/a/38451183/1970317
*/
git rm -r --cached .
git add .
git commit -m "Fix .gitignore by {UPDATE}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment