Skip to content

Instantly share code, notes, and snippets.

@meyu
Last active June 19, 2018 03:33
Show Gist options
  • Save meyu/ae5bb312e1398aabee73f6e8a8a46dda to your computer and use it in GitHub Desktop.
Save meyu/ae5bb312e1398aabee73f6e8a8a46dda to your computer and use it in GitHub Desktop.
備忘技巧:不小心將 .vs 列入版控時

Permanently ignore changes to a file

  1. Add .vs to .gitignore.
  2. Run command git rm --cached .vs -r.
  3. Commit the staged changes.

References

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