You must gather your party aliases before venturing forth
First things first, let’s make our lives easier by adding some aliases to git, you can either run these commands
Or you can run git config --global -e to open your text editor, and add the following to your config file:
Now, instead of typing git status you can simply type git st. Consider the amount of key presses you’re going to save.
Sample config file in case you need one
The following config file contains the autocrlf option to properly configure the line-endings, and the option that stores your credentials so you don’t need to login everytime you want to push something to your remote.
Cheat sheet
Bonus
If you’re on Windows, consider installing Cmder, it’s much better than the Windows command prompt.
_Design Patterns: Elements of Reusable Object-Oriented Software_ by Erich Gamma, John Vlissides, Ralph Johnson and Richard Helm is one of...… Continue reading