How to ignore files in Git

To ignore files in Git, for example, to ignore *.orig files

put

*.orig

in ~/.gitignore

Then run this:
$  git config --global core.excludesfile ~/.gitignore



Comments

Popular posts from this blog

How to get Active Transactions and Locks from MySQL

Example of a PAC file