4 ms·
I have used this extensively for interacting with Github. But definitely, my biggest use is for quickly creating new private repos in Github to save small expe
by dmacedo 9y ago
I have used this extensively for interacting with Github.
But definitely, my biggest use is for quickly creating new private repos in Github to save small experiments (doesn't require hub to be aliased to git):
new => !git init && git commit --allow-empty -m 'Initial commit (empty)' && hub create -p `basename $PWD`
For new projects (hope you can get the aliases):
mkdir newproject && cd newproject
g new
# Do stuff, etc...
gcia -m "Add project start" && gp