Created
January 14, 2011 08:24
-
-
Save pauldruziak/779358 to your computer and use it in GitHub Desktop.
Commit message from pivotaltracker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //[#12345] FEATURE: Add Google Maps to user profiles | |
| //To quickly generate such commit messages, add a new link “Commit” to your bookmarks and use the following Javascript as the link URL: | |
| javascript:(function() { var story = document.getElementsByClassName('underEdit')[0]; if (story) { var title = story.getElementsByClassName('titleInputField')[0].value; var id = story.getElementsByClassName('storyId')[0].innerHTML; var type = story.getElementsByClassName('storyDetailsField')[0].value.toUpperCase(); prompt('Your commit message:', '[#' + id + '] ' + type + ': ' + title); } else { alert('Open a story in Pivotal Tracker and run the bookmarklet again.'); }})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment