摘要: 本地操作git add *#跟踪新文件git log#查看提交记录git reset HEAD *#取消已经暂存的文件rm *git rm *#移除文件git rm -f *#移除文件git rm --cached *#取消跟踪git mv file_from file_to#重命名跟踪文件git 阅读全文
posted @ 2017-07-24 15:10 alan-alan 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 然后我们将本地的文件传送至github中,使用如下命令:git remote add origin https://github.com/lanczh/AlanCodeGit.gitfatal: remote origin already exists.解决办法如下: 1、先输入$ git remo 阅读全文
posted @ 2017-07-24 15:09 alan-alan 阅读(106) 评论(0) 推荐(0) 编辑
摘要: git push -u origin master 错误描述fatal: repository 'https://github.com/lanczh/trigkit4/guanwang/fullpage/.git/' not foundUsername for 'https://github.com 阅读全文
posted @ 2017-07-24 15:05 alan-alan 阅读(222) 评论(0) 推荐(0) 编辑