1.全局设置(对所有git工程都有效)

    设置用户名:git config --global user.name 用户名

    设置邮箱:    git config --global user.email 邮箱

2.对特定branch(切换到工程目录下执行)

    设置用户名:git config user.name 用户名
    设置邮箱:   git config user.email 邮箱

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐