Git 多个用户从同一目录提交更改
至少有两个用户在Linux服务器上的同一目录上工作。我们每个人都需要将更改提交并推送到repo,这些更改需要在Github中正确识别Git 多个用户从同一目录提交更改,git,github,Git,Github,至少有两个用户在Linux服务器上的同一目录上工作。我们每个人都需要将更改提交并推送到repo,这些更改需要在Github中正确识别 如何配置:git config user.name或user.email以允许多个用户正确编写其更改?您可以使用--author选项为每个提交指定作者 git commit --author="yourname <foo@example.com>" git提交--author=“yourname”
如何配置:
git config user.name
或user.email
以允许多个用户正确编写其更改?您可以使用--author选项为每个提交指定作者
git commit --author="yourname <foo@example.com>"
git提交--author=“yourname”