Home > Mobile >  Best way to updated Git repository after deleting files via ftp
Best way to updated Git repository after deleting files via ftp

Time:09-27

I had to delete some files from my application via ftp. When I login to Git using command line, and do "git status" , i see the removed files in red. What do I need to do now to remove those files from the git repository? Basically, saying to Git, "yup, don't want those files anymore".

Git add?

CodePudding user response:

Nope.... rather git rm, even if you are telling git after the fact.

git rm file1 file2 file3
git commit -m "Deleting some files"
  • Related