Tools to make git on the terminal a little more pleasureable
Git out-of-the-box isn't your best friend, git-convenience pulls together a few tools that make it that little bit more friendly. You get:
Works on OSX, Linux & Windows git-bash.
Trial it in your current terminal session:
eval "$(curl -L https://raw.githubusercontent.com/jakearchibald/git-convenience/master/setup.sh) trial"
If it works for you, have it in all your terminals:
eval "$(curl -L https://raw.githubusercontent.com/jakearchibald/git-convenience/master/setup.sh)"
gwut
- List all Git Convenience commands and prompt symbolsgs
- git statusgaa
- Add all changes (including untracted files) to staginggc "Message"
- Commit all new files & changes with messagegoops
- Add changes to previous commit & edit comessagegp
- Pull (via rebase) then pushgup
- Pull (via rebase)glog
- Decorated & graphed logglogo
- As glog, including orphan commitsgdiff
- A word-diff of changesgclean
- Compress & garbage collect data storeIf you've installed the wonderful git-up (which you should), it'll be used instead of git pull --rebase
.
The prompt shows the current branch & among other helpful things:
*
- Uncommitted changes+
- Staged changes%
- Untracked files<
- You're behind the origin>
- You're ahead of the origin<>
- You've diverged from the origin=
- You're up-to-date with the origin