Coder Social home page Coder Social logo

sake-git's Introduction

Sake-Git

NOTE: These tasks are being deprecated in favor of thor-git, availble at http://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 http://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 "http://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.

sake-git's People

Contributors

granth avatar dsisnero avatar cypher avatar

Stargazers

Angus H. avatar Ahmet Abdi avatar  avatar  avatar pierre pracht avatar Brian Donovan avatar Aaron Quint avatar Mislav Marohnić avatar Pritesh avatar Barry Mitchelson avatar Dysinger avatar Chris Bailey avatar Cristi Balan avatar Simon Rozet avatar Jesse Newland avatar

Watchers

Brian Donovan avatar James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.