Skip to content

Instantly share code, notes, and snippets.

@onjiro
Created February 21, 2012 12:12
Show Gist options
  • Save onjiro/1876169 to your computer and use it in GitHub Desktop.
Save onjiro/1876169 to your computer and use it in GitHub Desktop.
git initialize
#!/bin/sh
sudo apt-get install git
alias g=git
echo "alias g=git" >> ~/.bashrc
g config --global user.name onjiro
g config --global user.password [email protected]
g config --global alias.co checkout
g config --global alias.br branch
g config --global alias.st status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment