Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (25 sloc) 771 Bytes

Git Utils

git-PS1

Shows the current branch in the bash prompt

git-incoming

Shows incoming commits from the tracked (or specified) branch

git-incoming-short

Same but shorter

git-iterate

Runs a given script over every revision in the current repository

git-last

git last 3 (show the last 3 commits)

git-outgoing

Show outgoing commits to the tracked (or specified) branch

git-outgoing-short

Same but shorter

git-patch

Format a patch and put it into ~/Documents/Patches//.patch

git-push-all

Push to all remotes

git-switch

Like checkout, but with auto-stash

git-pack-config

Put .git/config into the repository for portable configs

git-unpack-config

Put .git/config back into place

Something went wrong with that request. Please try again.