github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

cypher / thor-git

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 33
    • 3
  • Source
  • Commits
  • Network (3)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

A port of sake-git to Thor. A set of Thor tasks to make developing with Git easier. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Fix bug in #git_stash when there are changes to submodule versions 
Joel Chippindale (author)
Fri Oct 09 01:01:44 -0700 2009
commit  2df8b9310f926413e9806398ddff995022d1765b
tree    ddc7be50984631aa5da824f681a60c1ad37dd1b3
parent  2d470ead02f58c0daaadf893db22b499554ab4b9
thor-git /
name age
history
message
file LICENSE Sun May 18 14:52:11 -0700 2008 Add a license [cypher]
file README.textile Tue May 20 23:45:14 -0700 2008 Add some notes on the workflow that these tasks... [eventualbuddha]
file Thorfile Fri Jun 20 00:24:10 -0700 2008 update Thorfile to work with thor 0.9.2 [dchelimsky]
file git.thor Fri Oct 09 01:02:43 -0700 2009 Fix bug in #git_stash when there are changes to... [Joel Chippindale]
file gitconfig.sample Tue May 20 09:33:38 -0700 2008 Fix gitconfig.example open and close aliases [cypher]
README.textile

Thor-Git

Here are a few Thor tasks to make developing with Git easier (and some corresponding Git aliases to
make invoking them easier). Install them with:

$ thor install git.thor

Or, if you don’t want to actually download this stuff, just use:

$ thor install "http://github.com/cypher/thor-git/tree/master/git.thor?raw=true"

You can add the git aliases by copying them into the corresponding section of your global .gitconfig.

The tasks are designed around a particular workflow in which you primarily develop against a single upstream that you git-push or git-svn dcommit to. In this workflow master typically mirrors this upstream, and little or no work is done on master. Instead you branch off master with thor git:open and then commit as you go, using thor git:push to send your changes upstream, and finally using thor git:close to delete the branch when you’re done with it.

Let me say it again, because it’s very important: all these tasks assume that master is the nexus of your local branches and the portal to your remote branch.

Common Commands

$ thor git:update

Updates your current git repository, autodetecting whether you have a regular ol’ git project or a
git-svn project.

$ thor git:push

Commits any changes in your current branch not yet pushed upstream and ports ’em over to master.

$ thor git:open [mynewbranch]

Creates a new branch off master. Think of this as opening an issue, or a new path of development.

$ thor git:close [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.

Credits

Brian Donovan (aka eventualbuddha) created the original sake-git task set, which can be found on GitHub.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server