Tot*_*.js 1 git github git-extensions
我有 2 个项目,在每个项目上我都希望提交不同的配置文件。但是我不想每次需要切换时都更改 git 配置。怎么做?
$ cd /path/to/your/local/project
$ git config user.name "Your name here"
$ git config user.email your.email@here.com
Run Code Online (Sandbox Code Playgroud)
这会将要用于该项目的身份存储到其本地.git/config
文件中。
归档时间: |
|
查看次数: |
1518 次 |
最近记录: |