0

When I am paring with one of my team mates, we use one computer, either his or mine. But we both want to keep our github streak going.

So, is it possible to label one commit as done by two people on github?

Cui Pengfei 崔鹏飞
  • 8,017
  • 6
  • 46
  • 87

1 Answers1

2

You can't have multiple authors for one commit in git now. Check Git should support multiple authors for a commit, a feature request on git.

Abimaran Kugathasan
  • 31,165
  • 11
  • 75
  • 105
  • However, you can, with the proper workflow, have both an author and a committer, and they do not have to be the same... – twalberg Jun 03 '14 at 16:08
  • @twalberg : I don't thing OP want this author and commit, he/she wants dual authors for a commit. – Abimaran Kugathasan Jun 04 '14 at 04:05
  • I understand that... Using the separate author and commit would be a bit of a "workaround". The only other alternative is to record the additional meta-data in the commit message. Or maybe use `git notes`, but that's a bit hackish, too... – twalberg Jun 05 '14 at 13:53