sebastiandaschner blog


Using Git on The Command Line Effectively

#git #productivity #commandline monday, october 03, 2022

As developers, we interact a lot with version control systems such as Git — at least we should. In this video, I’m showing how to effectively use git on the command line, so that you can stay fully on the keyboard, and so that you don’t miss anything from a WYSIWYG editor or IDE integration.

 

 

Summary

  • Use shell aliases (such as gstgit status)

  • Use shell keyboard shortcuts (such as Ctrl+…​)

  • Define your own Git subcommands (git-subcommand in PATH for git subcommand)

  • Check out hub or GH CLI for GitHub

  • On a file-based Git respository, have a look at Git hooks

 

More Information

 

Found the post useful? Then you might enjoy my Developer Productivity Masterclass.