Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Tools to make git on the terminal a little more pleasureable

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.md
Octocat-spinner-32 git-shortcuts.sh
Octocat-spinner-32 screenshot.png
Octocat-spinner-32 setup.sh
Octocat-spinner-32 terminal-prefs.sh
README.md

Convenient bits & bobs for Git

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:

  • Tab auto-completion
  • A more useful command prompt
  • Shortcuts to common operations

Works on OSX, Linux & Windows git-bash.

Gimmie gimmie gimmie

Trial it in your current terminal session:

eval "$(curl -L https://raw.github.com/jakearchibald/git-convenience/master/setup.sh) trial"

If it works for you, have it in all your terminals:

eval "$(curl -L https://raw.github.com/jakearchibald/git-convenience/master/setup.sh)"

Shortcuts

  • gwut - List all Git Convenience commands and prompt symbols
  • gs - git status
  • gaa - Add all changes (including untracted files) to staging
  • gc "Message" - Commit all new files & changes with message
  • goops - Add changes to previous commit & edit comessage
  • gp - Pull (via rebase) then push
  • gup - Pull (via rebase)
  • glog - Decorated & graphed log
  • glogo - As glog, including orphan commits
  • gdiff - A word-diff of changes
  • gclean - Compress & garbage collect data store

If you've installed the wonderful git-up (which you should), it'll be used instead of git pull --rebase.

Prompt

Prompt screenshot

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

Other tools & props

  • git-up - A brilliant tool for syncing branches
  • git completion - The scripts used for the prompt & tab completion
Something went wrong with that request. Please try again.