Tuesday 16/07/19
I just learned about Git Aliases. What is an Git Aliase you ask?
Phil Haackarrow-up-right says:
An alias is simply a way to add a shorthand for a common Git command or set of Git commands. Some are quite simple.
If you want to use co instead of checkout, you can set it like this:
co
checkout
git config --global alias.co checkout
And, now you can use git co [branch_name] to checkout a branch like so:
git co [branch_name]
Last updated 6 years ago