Skip to content

A small Chrome extension to copy a branch name when reviewing a PR

Notifications You must be signed in to change notification settings

ledleds/copyGitBranch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📋 CopyGitBranch

I wrote this small Chrome Extension for a very particular use case:

Have you ever been reviewing a long PR and maybe you are halfway down the page and want to check the functionality of a test or see if you could improve the code written on your own machine?

You have to scroll all the way to the top of the page to get the branch name so that you can checkout to that branch, then find where you were up to again in the code review. It used to irritate me. So I built this.

When clicked, this extension gets the branch name and copies it to your clipboard. No need to scroll back to the top. Simple.

Note: 
This will only work when you are viewing all files changed in a PR.

Installation

Clone this repo.

  1. Visit chrome://extensions/ in Google Chrome.
  2. Toggle Developer Mode on in the top right hand corner.
  3. Click Load unpacked and navigate to where you have saved this repo.
  4. ????
  5. Profit

About

A small Chrome extension to copy a branch name when reviewing a PR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published