I want to change the gitignore, but not everyone on the team wants these changes. How can a user have their own specific git ignore file?
相关问题
- Why does recursive submodule update from github fa
- Extended message for commit via Visual Studio Code
- Emacs shell: save commit message
- Can I organize Git submodules in a flat hierarchy?
- Upload file > 25 MB on Github
相关文章
- 请教Git如何克隆本地库?
- What is the tortoisehg gui equivalent of doing “hg
- How to use Mercurial from Visual Studio 2010?
- GitHub:Enterprise post-receive hook
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
- Is it possible to do a “destroy history” in TFS?
- Is there a version control system abstraction for
For example, you want ignore
~/some/path/.idea
folder:For user-specific and repo-specific file ignoring you should populate the following file:
Usually $GIT_DIR stands for:
In their .gitconfig:
That way, they can ignore certain types of files globally. Each user can have their own global ignore file.
You can create your own .gitignore using
Then put your desired entries in that file.