The following untracked working tree files would be overwritten by merge, but I don't care

前端 未结 16 1132
挽巷
挽巷 2020-12-02 03:37

On my branch I had some files in .gitignore

On a different branch those files are not.

I want to merge the different branch into mine, and I don\'t care if t

16条回答
  •  生来不讨喜
    2020-12-02 04:16

    If you consider using the -f flag you might first run it as a dry-run. Just that you know upfront what kind of interesting situation you will end up next ;-P

    -n 
    --dry-run 
        Don’t actually remove anything, just show what would be done.
    

提交回复
热议问题