thinking I'll migrate my open source projects to github (from self-hosted svn+trac) since it makes accepting patches so much less of a pain about 16 hours ago from twitterrific |
|
|
|
|
|
|
|
|
in a script, what's the current branch?
mercurial: `hg branch`
git: `git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'` 8:44 AM Dec 6th from twitterrific |
|
|
|
|
|
|
|
|
|
|