Shusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master) $ rm test.html Shusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master) $ ls README.md Shusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master) $ vim .gitignore Shusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master) $ git status On branch master Your branch is up-to-date with 'origin/master'. Changes not staged for commit: (use "git add/rm <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directo ry) deleted: test.html Untracked files: (use "git add <file>..." to include in what will be committed) .gitignore no changes added to commit (use "git add" and/or "git commit -a") Shusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master) $ git st git: 'st' is not a git command. See 'git --help'. The most similar commands are status reset stage stash svn Shusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master) $ git add . Shusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master) $ git ca 'first initial'git: 'ca' is not a git command. See 'git --help'. The most similar commands are clean tag varShusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master) $ git commit -am 'first initial'[master 0f90348] first initial 2 files changed, 3 insertions(+) create mode 100644 .gitignore delete mode 100644 test.html Shusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master) $ git push Counting objects: 3, done. Delta compression using up to 4 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (3/3), 307 bytes | 0 bytes/s, done. Total 3 (delta 0), reused 0 (delta 0) To gitee.com:ssshappymmall/mmall-fe.git c3d58f4..0f90348 master -> master Shusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master) $ touch .DS_Store
作者:芥末无疆sss
链接:https://www.jianshu.com/p/39421c2cb463
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。
共同学习,写下你的评论
评论加载中...
作者其他优质文章