Short link to this page: http://caseywatts.com/slugify
Other gists & tricks: http://caseywatts.com/gists-and-tricks
For a given pivotal card that's open, create an appropriate github branch name for it - including the id
and ticket title
.
This code is used as a javascript bookmarklet. It is a bookmark in your browser that executes some javascript code, instead of navigating you to a new page.
- Copy the code block in
slugit.js
- Create a new bookmark, maybe on your
Bookmarks Bar
for quick access. - Name it something (like
slugit
) - Paste the code block into
Location
(orURL
). - While on PivotalTracker with a card open, click the bookmark. If there are multiple cards open, this will read from the first one jQuery finds (probably the top left one).