本文共 1961 字,大约阅读时间需要 6 分钟。
Shusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master)$ rm test.htmlShusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master)$ lsREADME.mdShusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master)$ vim .gitignoreShusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master)$ git statusOn branch masterYour branch is up-to-date with 'origin/master'.Changes not staged for commit: (use "git add/rm..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directo ry) deleted: test.htmlUntracked files: (use "git add ..." to include in what will be committed) .gitignoreno changes added to commit (use "git add" and/or "git commit -a")Shusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master)$ git stgit: 'st' is not a git command. See 'git --help'.The most similar commands are status reset stage stash svnShusheng 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.htmlShusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master)$ git pushCounting 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 -> masterShusheng Shi@PC-of-sss MINGW64 ~/mmall/doc/mmall-fe (master)$ touch .DS_Store
转载地址:http://eowlo.baihongyu.com/