Deleting Files using Git/GitHub

前端 未结 4 903

First off, I\'m new to Git.

I deleted a bunch of files locally on my Mac using Finder. I want the files that I deleted to no longer show in the current branch, but t

4条回答
  •  误落风尘
    2020-12-12 09:18

    I don't know if this has been added to git since the previous answers, but I just used

    git add -u
    git commit -m "Removed some files"
    

    to achieve the same thing.

提交回复
热议问题