Skip to content

Instantly share code, notes, and snippets.

View Git_commands.md

初始化:

git clone shh							克隆远端项目
git init							将当前路径设为git仓库
git config --global core.excludesfile "file"			配置全局忽略文件
git config -l							查看全局配置
git config --global user.name "Your Name"			设置名字
git config --global user.email "email@example.com"		设置Email地址

提交修改到暂存区:

You can’t perform that action at this time.