【问题标题】:Coda 2 still publishes files in .gitignoreCoda 2 仍然在 .gitignore 中发布文件
【发布时间】:2014-08-05 19:13:22
【问题描述】:

我在 coda 2 中使用 git 进行源代码控制。我有一个文件需要在本地计算机上有所不同,但即使我将其包含在 .gitignore 中,coda 仍会将其推送到主服务器。

我需要忽略这个文件的原因是因为它引用了 localhost 而不是 Web 服务器的 0.0.0.0。有没有更简单的方法可以做到这一点,还是我只需要用终端推送?

【问题讨论】:

    标签: git gitignore coda


    【解决方案1】:

    您将需要使用终端,但只是短暂的。以下帖子更详细地介绍了这一点:Ignore files that have already been committed to a git repository

    【讨论】:

      猜你喜欢
      • 2021-02-24
      • 2016-07-11
      • 1970-01-01
      • 1970-01-01
      • 2018-10-01
      • 2021-09-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多