为了账号安全,请及时绑定邮箱和手机立即绑定

添加gitignore文件

标签:
架构

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
來源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。


点击查看更多内容
TA 点赞

若觉得本文不错,就分享一下吧!

评论

作者其他优质文章

正在加载中
  • 推荐
  • 评论
  • 收藏
  • 共同学习,写下你的评论
感谢您的支持,我会继续努力的~
扫码打赏,你说多少就多少
赞赏金额会直接到老师账户
支付方式
打开微信扫一扫,即可进行扫码打赏哦
今天注册有机会得

100积分直接送

付费专栏免费学

大额优惠券免费领

立即参与 放弃机会
意见反馈 帮助中心 APP下载
官方微信

举报

0/150
提交
取消