CARVIEW |
Every repository with this icon (

Every repository with this icon (

Description: | A set of Sake tasks to make developing with Git easier. |
Clone URL: |
git://github.com/eventualbuddha/sake-git.git
Give this clone URL to anyone.
git clone git://github.com/eventualbuddha/sake-git.git
|
Search Repo: |
name | age | message | |
---|---|---|---|
![]() |
LICENSE | Tue Mar 04 14:03:20 -0800 2008 | Add some sort of license [eventualbuddha] |
![]() |
README.textile | Tue May 20 19:07:16 -0700 2008 | Textile, damn it. [eventualbuddha] |
![]() |
Rakefile | Thu May 08 10:08:32 -0700 2008 | use sake -Tv to include hidden tasks [granth] |
![]() |
git.rake | Thu May 08 10:08:32 -0700 2008 | removed git:helpers description so sake will hi... [granth] |
![]() |
gitconfig.sample | Tue Mar 04 13:49:54 -0800 2008 | First commit [eventualbuddha] |
Sake-Git
NOTE: These tasks are being deprecated in favor of thor-git, availble at https://github.com/cypher/thor-git. I’m continuing to work on them there, but decided to switch from sake
to thor
because sake
, as cool as it is, still uses rake
. Check out thor
at https://github.com/wycats/thor.
Here are a few Sake tasks to make developing with Git easier (and some corresponding Git aliases to make invoking them easier). Install them with:
$ rake install
Or, if you don’t want to actually download this stuff, just use Sake:
$ sake -i "https://github.com/eventualbuddha/sake-git/tree/master/git.rake?raw=true"
Common Commands
$ sake git:update
Updates your current git repository, autodetecting whether you have a regular ol’ git project or a
git-svn project. I recommend aliasing it git up
.
$ sake git:push
Commits any changes in your current branch not yet pushed upstream and ports ‘em over to master. I use git ci
for this one.
$ sake git:open [NAME=mynewbranch]
Creates a new branch off master. Think of this as opening an issue, or a new path of development. I use git open
for this one, allowing you to call it like so:
$ git open mynewbranch
You can even call it without the branch name and it’ll ask you for it:
$ git open * Name your branch: mynewbranch
$ sake git:close [NAME=mynewbranch]
This is open’s brother, and should be used when you finish something and have already moved it to
master or upstream. If you haven’t yet, don’t worry – this won’t eat your data. Like open, this one I alias to git close
.
Credits
Thanks to Coda Hale and everyone else at Wesabe for trying these out when I first wrote them and contributing tasks of their own, and to the Rubinius folks for giving me the idea in the first place.