I use git on Mac. And for each command I write git fetch|rebase|log|status..... What I would like is to write git press Return and enter git mode, where I just write log|fetch|rebase. Is this possible?
- 4defunkt.io/replAlexey Ten– Alexey Ten2015-03-11 10:55:42 +00:00Commented Mar 11, 2015 at 10:55
- 3github.com/thoughtbot/gitshlarsks– larsks2015-03-11 11:45:26 +00:00Commented Mar 11, 2015 at 11:45
Add a comment |
1 Answer
You can use repl, by Chris Wanstrath.
Install it with
brew install repl (if you aren't yet using howbrew, I strongly suggest you to have a look to http://brew.sh)
Once repl is installed, you can simply run
repl git and all the subsequent commands will be dispatched to git.