Daya Jin's Blog Python and Machine Leaning

Git

2020-07-10

Git

git clone [URL]:拉取仓库

git init:当前目录创建git仓库

git add [file]:追踪文件,或者将文件放到暂存区

git status:查看仓库的文件状态

git commit -m [string]:提交

git log:日志

git checkout -- [file]:忽略文件的所有修改

git checkout [branch]:切换分支

分支系统

gitignore

.gitignore支持简单的正则匹配。


上一篇 C++ Detail

下一篇 Sparse Table

Content