Git 常用命令

本地配置 git config --global user.name "你的名字或昵称" git config --global user.email "你的邮箱" $ git add . #将当前目录所有文件添加到git暂存区 $ git commit -m "my first commit" #提交并备注提交信息 $ git push origin master #将本地提交推送到远程仓库 $
Git 常用命令