📎 Webclip
Productivity 101: Git Aliases for Lazy Developers
The page says lazy developers can reduce repetitive typing by using git aliases. It connects that habit to the idea of avoiding unnecessary mental effort and uses “.bashrc” to make aliases available in git bash.
Reading notes#
- A lazy programmer is described as someone who reduces overall energy expenditure and writes labor-saving tools.
- The article links unproductive development work to repetitive tasks that could be avoided.
- An alias is presented as a shorter command that maps to a longer one.
- The basic form is shown as alias name equals command.
- The example gre maps to git rebase, and .bashrc is used to store aliases that run when git bash opens.
- The file can be edited directly or updated with output redirection.
- The aliases listed cover status, add and commit, push, pull, checkout, creating a branch, rebase, diff, and log.
- The article says aliases can also be used for other frequent commands such as Docker, Laravel, Ruby, Python, WordPress, and Django.
