你使用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死。我只是想设置文件被忽略,如果我推,而不是删除。
我做错了什么/忘记了?有任何想法吗?