graphgithub

How to view GitHub Contributors Graph for branches other than master?


At https://github.com/yourusername/yourreponame/graphs you can find some nice graphs showing commits over time. However the information is only for the master branch.

How do I see the same information for a branch other than master, or see a graphs taking account commits across all branches?

If this is not possible, how can I at least see how many line of code have been committed under a particular branch via the GitHub web GUI?

Is any of this possible?


Solution

  • Dangerous/Significant (see comments):

    I just stumble on this as well. You can actually see the graphs for other branches than the Master branch.

    • On Github in your repo - choose settings.
    • In settings - change your default branch to whatever branch you would like to see the graphs for.