2015-11-26 36 views

回答

2

創建.gitignore文件中包含該文件的相對路徑庫。 I.e .:

/path/to/hello.html 

查看the manual的頁面瞭解更多信息。

+0

是否有一個混帳線?它看起來怎樣? – JohnAndrews

+0

號創建一個名爲'.gitignore'在庫的根。如果你的資料​​庫被稱爲'repository'和'hello.html'位於'庫/ HTML/hello.html',你會編輯'庫/ .gitignore'包含行'庫/ HTML/hello.html' – houtanb