Git 配置使用者
客户端配置,Linux 跟 Windows 配置都一样
配置使用者信息
shell
# 全局配置用户名
git config --global user.name shuofeng
# 全局配置用户邮箱
git config --global user.email shuofeng@abc.com查询使用者信息
shell
git config --list删除使用者信息
shell
# 全局删除用户名
git config --global --unset user.name
# 全局删除用户邮箱
git config --global --unset user.email提交文件
创建文件
shell
vi hello.py添加到暂存区
shell
git add hello.py提交文件
shell
git commit -m 'hello'
朔风