Click the right button on the file you want to ignore.
You need to check “Only ignore locally”. It makes the change in .git/info/exclude file.
See the file is added.
The other option is storing the ignore files in .gitignore.
In this case, the ~/.gitignore file is updated to reflect the changes.
No comments:
Post a Comment