Bence Ács Bence Ács - 4 months ago 37
Git Question

How can I shorten `git checkout` to `git co`?

I want to shorten

git checkout master
git co master


The command:

git config --global checkout

will create a git alias to do that. It will add the following entry into your global ~/.gitconfig file:

    co = checkout