Skip to content

farchy/commit-to-pull-request-message

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

GitHub Pull Request Message

Just copy this code to the bookmark pane of your browser. Whenever you are creating a PR in github, just press the bookmarklet and voila, All the commit messages are now aggregated in your PR comment box.

The code:

javascript:(function(){
    msgs = document.getElementsByClassName("commit-message");
    commitMsgs = "";
    for (i=0; i<msgs.length; i++) {
        commitMsgs += msgs[i].getElementsByClassName("message")[0].getAttribute("title") + "\n\n";
    }
    document.getElementById("pull_request_body").value = commitMsgs;
})()

About

Copy all commit messages to the PR comment box

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published