Skip to content

Chrome extension which adds some handy functionality to GitHub's branch compare

Notifications You must be signed in to change notification settings

GlenHughes/github-branch-switcher

Repository files navigation

GitHub Branch Compare Page Branch Switcher

This is a simple Chrome Extension that I wrote. The purpose of this extension is to improve the UX of the GitHub.com branch comparison page. Have you ever compared a branch on GitHub and wondered why doesn't this icon (see fig1) actually switch the branches that I am comparing?!!

It annoys me so much, I took the time to write this Chrome Extension to add that functionality.

Please don't take this code seriously! This is just for fun and learning :)

Fig1

Dev Setup

Project uses Gulp to minify source file to extension.min.js and Yarn to manage packages. To install:

yarn

To compile:

yarn build

Installation

https://chrome.google.com/webstore/detail/github-compare-branch-swi/fjlmkbgkecelphjcapljnhiebbcbimjh

Standard extension installation steps. The extension will only kick in when viewing the GitHub website.

About

Chrome extension which adds some handy functionality to GitHub's branch compare

Resources

Stars

Watchers

Forks

Packages

No packages published