The way to “reinit” repository

前端 未结 3 1185
無奈伤痛
無奈伤痛 2020-12-31 02:49

I\'ve made kind of a big refactoring in my project: I renamed files, removed, added... Besides, I added some folders in .gitignore. However, I\'ve already made a commit to a

3条回答
  •  爱一瞬间的悲伤
    2020-12-31 03:00

    The lazy way is to just add all the new files and changes, and deletions:

    git add -A .
    

    So long as you don't have any conflicts, this should merge in fine.

提交回复
热议问题