Skip to content
Phillip Alexander edited this page Aug 20, 2013 · 18 revisions

Topic branches

You can choose to create a topic branch for the issue/set of issues your commits pertain to if you like.

Ignoring files (general)

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.

Ignoring files (OS X Setup)

Create a (badass) global .gitconfig file`

  1. Instal wget command line tool `brew update && brew install wget

  2. paste this to terminal and run it to create an epic .gitconfig:

wget -O ~/.gitconfig https://gist.github.com/phillipalexander/4d6aad089ec231e63ead/raw/331cdae177d1d883d2a6ff82954687eb48ce15b3/gistfile1.txt
  1. Setup git to use your github user name: git config --global user.name "REPLACE_WITH_YOUR_GITHUB_USERNAME"

  2. Setup git to use your github user name: git config --global user.email "REPLACE_WITH_YOUR_GITHUB_EMAIL"

Create a (badass) .global_ignore file

  1. Enter the following to create a sweet .gitignore
wget -O ~/.gitignore_global https://gist.github.com/phillipalexander/2eb964a6b94c75b15fd5/raw/4addb0b4bcad43c7347322e0e6caeea4a7e1439b/.gitignore_global
  1. Enter the following command (in terminal) to tell git to defer to your global ignore file: git config --global core.excludesfile ~/.gitignore_global

Closing issues with commits

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.

Clone this wiki locally