How To Add Together Global Ignore File Inwards Git

This tutorial assumes that yous already download as well as install GIT: http://git-scm.com/downloads. Note that I've done this inward windows 7. Also delight brand certain that yous add together GIT_HOME/bin folder inward your path.

Steps:
1.) Create a novel file C:\Program Files (x86)\Git\global_gitignore.

2.) In my representative I desire to ignore the eclipse related files, as well as thus my global_gitignore file contains:
.project .settings target .classpath target 
.DS_Store

3.) Open ascendency prompt as well as execute:
git config --global core.excludesfile "C:\Program Files (x86)\Git\global_gitignore" //on mac git config --global core.excludesfile /Users/myAccount/.global_gitignore 
Next
Previous
Click here for Comments

0 komentar:

Please comment if there are any that need to be asked.