Git常用命令大全.pdf

Git命令参考手册(文本版) git init # 初始化本地git仓库(创建新仓库) git config –global user.name "xxx" # 配置用户名 git config –global user.email "[email protected]" # 配置邮件 git config –global color.ui true # git status等命令自动着色 git config –global color.status auto git config –global color.diff auto git config –global color.branch auto git config –global color.interactive auto git clone git+ssh://[email protected]/VT.git # clone远程仓库 git status # 查看当前版本状态(是否修改) git add xyz # 添加xyz文件至index git add . # 增加当前子目录下所有更改过的文件至index git commit -m 'xxx' # 提交 git commit –amend -m 'xxx' # 合并上▲次提交(用于反复修改) git commit -am 'xxx' # 将add和commit合为▲步 git rm xxx # 删ஔindex中的文件 git rm -r * # 递归删ஔ git log # 显示提交日志

相关文件下载地址
©下载资源版权归作者所有;本站所有资源均来源于网络,仅供学习使用,请支持正版!

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注