随笔分类 - git
摘要:git init // 1. 初始化项目文件夹 git add . // 2. 将所有文件添加到暂存区 git commit -m "first commit" // 3. 提交到本地仓库,双引号内是提交的备注信息 git remote add origin XXX // 4. (XXX就是你git
阅读全文
摘要:1. git rm -r --cached . 这里有个点 2. git config core.autocrlf false 3. git add . 这里有个点 适合windows,装了系统 再重新装git
阅读全文
摘要:1.不跟踪某个在跟踪的文件 git rm --cached readme1.txt 不跟踪 readme1.txt git rm -r --cached target/ 不跟踪 target 文件夹 执行git commit , 然后 git push 2.克隆 克隆普通: git clone ss
阅读全文

浙公网安备 33010602011771号