Skip to content

Instantly share code, notes, and snippets.

@simonrad
Created December 10, 2013 03:16
Show Gist options
  • Select an option

  • Save simonrad/7885240 to your computer and use it in GitHub Desktop.

Select an option

Save simonrad/7885240 to your computer and use it in GitHub Desktop.
Script to setup a good git config.
#!/bin/bash
git config --global user.name "Simon Radford"
git config --global user.email "simonradf@gmail.com"
git config --global color.ui true
git config --global merge.conflictstyle diff3
git config --global diff.renames true
git config --global push.default simple
git config --global alias.st status
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.d diff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment