输入: git pull origin master git报错提示 fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 在网上找到的解决办法:重新输入一次: git remote add
Git提交时提示'The file will have its original line endings in your working directory' Git出现错误 git add -A warning: LF will be replaced by CRLF in database/migrations/2017_07_04_10041 warning: LF will be replaced by CRLF warning: LF will be replaced by CR
git指令-管理修改 git管理的不是文件,而是修改 eg:对readme.txt文件进行修改一行 在最后追加一句git has to tracked 然后添加,并且查看状态 cat +文件名称 表示查看文件的内容 最后提交成功 成功后查看状态 $ git status On branch master Changes not staged for commit: (use "git add <file>..." to update what will be committ
git指令-版本回退 回顾: 1. 修改文件 2. 添加到暂存区并提交 回顾对readme共三次修改: 1. 版本1:wrote a readme file Git is a version control system. Git is free software. 2. 版本2:add distributed Git is a distributed version control system. Git is free software. 3. 版本3:append GPL modify s