-
Notifications
You must be signed in to change notification settings - Fork 15
Git Workflow
You can choose to create a topic branch for the issue/set of issues your commits pertain to if you like.
Please add operating system specific hidden files, editor specific swap files, and other things you need to ignore to your global git ignore. See ignoring files for details.
- paste this to terminal and run it to create an epic .gitconfig:
wget -O ~/.gitignore_global https://gist.github.com/phillipalexander/4d6aad089ec231e63ead/raw/331cdae177d1d883d2a6ff82954687eb48ce15b3/gistfile1.txt
-
Setup git to use your github user name:
git config --global user.name "REPLACE_WITH_YOUR_GITHUB_USERNAME"
-
Setup git to use your github user name:
git config --global user.email "REPLACE_WITH_YOUR_GITHUB_EMAIL"
enter the following command (in terminal) to tell git to defer to your global ignore file
git config --global core.excludesfile ~/.gitignore_global
Your commit message should reference the corresponding issue with closes #11
or fixes #12
so the corresponding issue will be closed and the issue will contain a link to the commit. More information on closing issues with pull requests.