Back
I saw a screencast where someone had gotten
git stgit ci
git st
git ci
to work. When I do it I get an error asking me if I meant something else.
Being a git newb, I need to know what you have to do to get this done?
Just add these lines to ~/.gitconfig
[alias] st = status ci = commit -v
[alias]
st = status
ci = commit -v
You can also run the git config alias command:
$ git config --global alias.st status
Note: On unix, use single quotes if the alias has a space:
$ git config --global alias.ci 'commit -v'
30.9k questions
32.9k answers
500 comments
665 users