你使用git必須遵循的確切步驟是什麼?我會給我的程序(這是,不知何故,沒有工作很順利):GIT並推送忽略的文件
- cloned a repository: (works fine)
- added settings files to .gitignore to prevent overwriting the originial
settingfiles on the remote (= test environment)
- made changes to my local repository and committed it locally (works fine)
- pushed it from local to remote (did not work properly)
當按下遠程遙控器上的settingfiles被刪除,這引起了我的測試envirnment死。我只是想設置文件被忽略,如果我推,而不是刪除。
我做錯了什麼/忘記了?有任何想法嗎?