Ever had the need to create a branch in a repo on Github without wanting (or being able) to access a local repo?
With the aid of [the Github API] and [hurl.eu] this is a piece of cake!
Just follow these steps:
- Open [http://hurl.eu/]
- Find the revision you want to branch from. Either on Github itself or by doing a GET request from Hurl:
- Copy the revision hash
- Do a POST request from Hurl to
https://api.github.com/repos/<AUTHOR>/<REPO>/git/refswith the following as the POST body :