Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in DevOps and Agile by (19.4k 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 (27.5k points)

Just add these lines to ~/.gitconfig

[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'

Related questions

0 votes
1 answer
asked Nov 5, 2020 in DevOps and Agile by dev_sk2311 (45k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...