Skip to content

Latest commit

 

History

History
50 lines (25 loc) · 771 Bytes

README.textile

File metadata and controls

50 lines (25 loc) · 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