Last active
August 29, 2015 14:27
-
-
Save makevoid/9685aba294cf2cbedf45 to your computer and use it in GitHub Desktop.
repo_create.sh.alias - Aliases **repo_create** combo (gcom, gaa and especially gpc are my favourite git aliases"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # prepreq: gem i hub - or - brew install hub | |
| # alias gcom="git commit -m" | |
| # alias gaa="git add ." | |
| # function gpc { | |
| # cur_branch=$(git rev-parse --abbrev-ref HEAD) | |
| # git push origin $cur_branch | |
| # } | |
| alias repo_create="git init . ; hub create ; touch Readme.md; gaa; gcom 'repo init'; gpc;" |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
aliases with syntax coloring and spacing
other very useful aliases (edit and reload):