1.检查当前文件状态 -- git status git diff git diff --staged git status :我们可以使用 git status 来查看文件所处的状态.当运行 git status 之后,出现类似下面输出: $ git status On branch master nothing to commit, working directory clean 说明,现在的工作目录非常干净,换句话说,所有的已跟踪文件在上次提交之后都未被修改过. 如果你想要知道
在windows7下安装git后,运行 cd ~/.ssh $ bash: cd: /c/Users/Administrator/.ssh: No such file or directory 出现以上问题 原因:在windows7下安装git后没有ssh 解决办法是: 全部留空即可,一路回车 $ ssh-keygen -t rsa -C “邮箱地址” ##回车 Generating public/private rsa key pair. Enter file in which to save