加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

如何在c9.io上使用gitignore添加.c9revisions /文件夹

发布时间:2020-12-16 09:48:07 所属栏目:百科 来源:网络整理
导读:如何在Cloud9(c9.io)上编辑gitignore,这样我就可以添加.c9revisions /文件夹,以避免将其添加到我在 github上的repo. 每次我使用git config –global core.excludesfile~ / .gitignore_global它都没有做任何事情,任何人都可以帮助我,谢谢. 解决方法 那 Google
如何在Cloud9(c9.io)上编辑gitignore,这样我就可以添加.c9revisions /文件夹,以避免将其添加到我在 github上的repo.

每次我使用git config –global core.excludesfile~ / .gitignore_global它都没有做任何事情,任何人都可以帮助我,谢谢.

解决方法

那 Google+ tips提到:

tip: edit your .gitignore file even though it doesn’t show in the “project files“:

At the command line,simply enter:

open .gitignore

and see the file display and edit in a new tab.
Save,commit,etc.

从this issue开始,看起来Cloud9仍然没有自动忽略.c9revisions文件夹(以及settings.xml,以及与C9相关的所有其他内容).

OP Sergio Robledo Arango提到他必须创建该文件:

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读