Jump to content

GitHub merge pull request.. loses commits from PR author?


micha

Recommended Posts

So I just merged in a pull request from someone into a GitHub repo, and at first it all showed up as expected - the commits from the other author, and the merge commit.  Keeping a nice history in the git repository.

But now the commits from the other author have disappeared and my repo is only showing the final merge commit.  I'm very unhappy about this as it removes the contribution from the other author from the commit log.  It seems that this is standard practise for GitHub as my own pull requests into other repos have similarly lost "my" commits (I wasn't sure whether the other authors did something on purpose to do that or not).

Does anyone know if there is any way to force GitHub to keep the individual commits from the other authors in the git history?  I've tried searching online but haven't found anything relevant.

 

-----

EDIT:

 

hmm, so looking through the web history, the commits are showing up. And using "git log" they also show up.

But they're not showing up in "Git Extensions" anymore, and I can't find a setting to show them again.

 

So looks like it's an oddity in Git Extensions rather than GitHub... Move along, nothing to see here after all.

 

----

EDIT2:

Git Extensions now has a "Show First Parents" option in the View menu, with a hot-key combination. Looks like I might have accidentally triggered that.

Edited by micha
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...