Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
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 (43.2k points)
0 votes
1 answer
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.2k users

Browse Categories

...