Created
January 31, 2014 03:23
-
-
Save simshanith/8726145 to your computer and use it in GitHub Desktop.
git-friendly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git-friendly is on [Github](https://github.com/jamiew/git-friendly) | |
git-friendly provides four extra helpful sugar methods around git's functionality. After installing the collection bash shell scripts, your `git` workflow will suddenly make more sense and Do the Right Thing. Paul Irish talked about them a while back in [this video](http://www.youtube.com/watch?v=f7AU2Ozu8eo). | |
---------- | |
From the README: | |
> A collection of shell scripts for making pulling, branching, and merging > with git fast and painless. | |
> Git sometimes requires typing 2 or 3 commands just to execute something basic like fetching new code. git-friendly adds some new commands – pull, push, branch, merge – which are just simple wrappers around git commands and some post-pull hooks. | |
> Bonus niceties: | |
> * push also copies a GitHub compare URL to your clipboard for easy pasting | |
> * pull will run commands like `bundle install` and `npm install` if applicable | |
> * branch will track remote branches if available | |
> * relevant commands stash/pop changes as needed | |
> less time fighting git = more time actually doing work | |
---------- | |
Using these helpers, you get a jump start on more advanced `git` topics like stashing, rebasing, and quickly branching. | |
There's an installation script, but I prefer to manage my shell scripts with [fresh](http://freshshell.com). I symlink them to my `~/bin` with this simple loop in my `.freshrc`: | |
# git friendly | |
# abstractions around common git tasks | |
for gitHelper in branch merge pull push; do | |
fresh jamiew/git-friendly $gitHelper --bin | |
done | |
unset gitHelper | |
Anyway, I hope they make your life easier. | |
> Written with [StackEdit](https://stackedit.io/). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment