Git aliases
Here’s a quick post for managing your git
shortcuts. If you use git
regularly, you should have a .gitconfig
file in your home directory that looks something like this:
[user] email = me@me.com name = Your name
You can add an alias
section like so:
[user] email = me@me.com name = Your name
[alias] ls = log --oneline uom = push -u origin master
These aliases can be used like so:
$ git ls60f0afb working end to end with the creation of a new shard including shard splitting939c589 working dynamic kinesis sharding5ee7e59 change organization, add config files...
$ git uomBranch master set up to track remote branch master from origin.Everything up-to-date
Until next time.
Recommended
Managing bash aliases
Bash aliases are great. Whether you use them to quickly connect to servers or just soup up the standard bash commands, they are a useful tool for...