Bence Ács Bence Ács - 5 months ago 40
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