git - gitignore across all branches? -
hey i'm trying git, emacs user first thing make sure ~ , #*# files ignored git. documentation talks .gitignore i've been using. couple of questions remain:
- gitignore checked in , part of branch. should .gitignore checked in , if so, how can make easy available across branches in repository?
- is there way use gitignore git config gitignore stays constant on repos?
- how can deal emacs lock files #*# treated comment?
i'm on mac ox snow leopard. regards, jeroen
add $home/.gitconfig
;
[core] excludesfile = /path/to/your/local/.gitignore
then it'll locally available on git repositories.
Comments
Post a Comment