git push到远程仓库时提示:fatal: The current branch master2 has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin master2,如图: 大意是当前分支与远程分支没有建立关联,提示运行 git push --set-upstream origin master2 与远程仓库…
近在学习使用 git&GitHub,然后今天遇到了一个问题.在执行 git add 和 git commit 操作之后,再进行 git push 操作,出现了如下提示: $ git push warning: push.default is unset; its implicit value has changed in Git 2.0 from 'matching' to 'simple'. To squelch this message and maintain the traditiona…
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…