【文件属性】:
文件名称:git-profile:实用程序,可帮助您轻松切换git配置
文件大小:21KB
文件格式:ZIP
更新时间:2024-02-24 10:07:15
git profile manage git-profiles GitPHP
git配置文件
该实用程序可帮助您轻松切换git配置
前言
您可能有多个git配置。 例如:
; Office Profile
Name: John Doe
Email: johndoe@office.com
; Personal Profile
Name: John Doe
Email: johndoe@gmail.com
在进行不同项目时记住和在配置文件之间切换可能很麻烦。
该实用程序旨在消除此麻烦。
产品特点
全局创建和管理配置文件; 一次创建,可在任何地方使用
设置特定项目的配置文件
使用单个命令设置全局配置文件
此实用程序可帮助您保存配置文件,然后您可以使用单个命令在它们之间切换。
安装
$ composer global require zeeshan/git-profile
然后检查您的$PATH变量。 它必须包含~/.composer/vendor/bin目录。
$ echo $PATH
/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/home/username/.composer/vendor/bin
如果$PATH变量不包含c
【文件预览】:
git-profile-master
----README.md(5KB)
----bin()
--------git-profile(805B)
----composer.lock(61KB)
----composer.json(976B)
----src()
--------Commands()
--------GitProfile.php(2KB)
----LICENSE.md(1KB)
----box.json(424B)
----RELEASE.md(403B)