Member-only story
Improve Your Productivity Using Git and Bash Aliases
Useful configs and aliases for git and your local development environments
As a lazy engineer, I’m always looking for ways, techniques, and tools to help me improve my skills and allow me to work more efficiently (i.e. avoid hitting some keyboard keys). I use some tools on a daily basis and sometimes the same command or sequence of commands is executed multiple times each day. Git is one of the most commonly used tools these days for managing source code versions. Mastering this tool is very important for working efficiently and focusing more on writing the source code than executing git commands.
In this article, I will present some of the git commands and aliases that I use in my local development environment as well as some aliases that I use for my daily command-line tasks.
Git Configurations
Usually, git configurations can be found in the ~/.gitconfig
file. The basic structure of the files should look like this:
[user] : User related configs
[core] : Core Configurations for git
[alias]: Define git command alias
...
I will focus on the alias section for git and provide some useful aliases that can help speed up the development process. All the aliases presented…