0 votes
1 view
in Devops and Agile by (20k points)

I saw a screencast where someone had gotten

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?

1 Answer

0 votes
by (28.4k points)

Just add these lines to ~/.gitconfig


    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'

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !