1

Git Config

 2 years ago
source link: https://linuxsuren.github.io/blog/other/scm/git/git-config/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Git Config

Git Config

git commit --amend --author="Author Name <[email protected]>"

修改提交记录

git commit --amend 执行该命令后直接修改上次的提交记录即可

本地/全局

通过参数可以指定是对全局还是当前项目的修改

git config --local user.email <[email protected]>

git config --global user.email <[email protected]>


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK