Get your name and email ready:
$ git config --global user.name "myname"
$ git config --global user.email myname@example.com
Ignore files that you do not want git to track globally:
edit your ~/.gitignore
*.pyc
*~
/a/folder/
$
git config --global core.excludesfile ~/.gitignore
Ignore files that you do not want git to track locally to your repository:
just add/edit a .gitignore to that repository
No comments:
Post a Comment