Git - Won't add files?

后端 未结 29 2159
小蘑菇
小蘑菇 2020-12-13 12:01

I\'m having issues where I can\'t add files to my repository.

I\'m using GIT on windows, in Aptana Studio for some Ruby development.

I\'ve managed to push a

29条回答
  •  情话喂你
    2020-12-13 12:39

    If the file is excluded by .gitignore and you want to add it anyway, you can force it with:

    git add -f path/to/file.ext
    

提交回复
热议问题