Type less when using Git with gitsh
For users who like using the command line version of Git like myself, it can get very repetitive to type
git before each git command. e.g.
git add ., etc.
While adding aliases to your Git configuration can reduce the typing, you still have to prefix each command with with
git. e.g. You can alias checkout to co and type
git co instead of
Also, you usually need to type more than one git command in sequence.
This is where gitsh, an interactive shell for Git, can help you.
You can even use Git aliases. e.g.
co develop instead of
As a bonus, just pressing the Return key will show you the result of
git status. Even less typing needed!
If you need to execute a shell command within gitsh, you can prefix it with a
The gitsh prompt also shows the current state of your repository, which includes the name of the current branch and a status indicator, in colour.
To exit you type
:exit or press Ctrl + d.
You can see full details in the README.
1. You may want to dedicate a terminal tab or window to run gitsh if you use Git frequently.
The Axioms of Software Development - Part 2
Type less when using Git on the command line with gitsh
The Axioms of Software Development - 1 of 4
reinteractive is Australia’s largest dedicated Ruby on Rails development company. We don’t cut corners and we know what we are doing.
We are an organisation made up of amazing individuals and we take pride in our team. We are 100% remote work enabling us to choose the best talent no matter which part of the country they live in. reinteractive is dedicated to making it a great place for any developer to work.
Webinars are our online portal for tips, tricks and lessons learned in everything we do. Make the most of this free resource to help you become a better developer.
The Ruby on Rails Installfest includes a full setup of your development environment and step-by-step instructions on how to build your first app hosted on Heroku. Over 1,800 attendees to date and counting.
The Ruby on Rails Development Hub is a monthly event where you will get the chance to spend time with our team and others in the community to improve and hone your Ruby on Rails skills.