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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -