loading...

re: Trouble with Git Commits on Github? Me too. VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I too discovered a couple of weeks ago that a substantial number of my commits weren't showing up on GitHub. After some research, I learned that be...
 

Huh, that's interesting. Seems like not a good representation of work though.

 

I agree about it seeming a terrible representation of your work. I've been working around the problem, but I'm pretty dissatisfied with my workflow. So I did some more digging.

And it turns out what I wrote last night was a little inaccurate. It's not the master, but the 'default' that is the only branch that can populate commits onto the graph, but it happens to be that default is set to master. It sounds like you can set the default to another branch to reflect the commits you make there.

help.github.com/en/github/setting-...

It seems a little tedious, but it's a solution. Not sure if commits appear or disappear on your graph though if you're setting your default to something else all the time. Might be worth experimenting with!

By the way, have you figured out yet what the cause has been for you?

I haven't been able to figure it out because it seems like even if I'm working in the default branch the commits may or may not show up on the contribution graph. As long as the commits are showing up in the repo itself I'm not too worried about it, just wish the work was reflected in a better way.

code of conduct - report abuse