【文件属性】:
文件名称:git-user:Bash脚本,用于轻松切换Git用户
文件大小:7KB
文件格式:ZIP
更新时间:2021-02-16 10:27:39
git-user git-user-manager Shell
git用户
Bash脚本,用于轻松切换Git用户。
安装
将git-user复制到任何目录中,并确保它在PATH (并设置了可执行标志)。
用法
git user add john.doe@acme.org " John DOE "
git user add jdoe@private.local " John Doe "
# inside the Git repository
git user set john.doe@acme.org
# sets user.name to John DOE
# and user.email to john.doe@acme.org
如果安装了 ,则可以通过使用光标键以及键入子字符串来交互式地选择用户:
git user set
# displays the following prompt
> John Doe <jdoe@private.loca
【文件预览】:
git-user-master
----.gitignore(79B)
----Makefile(330B)
----LICENSE(11KB)
----README.md(2KB)
----git-user(2KB)