Git - remove pushed file

If you deleted a file from the working tree, then commit the deletion:

git commit -a -m "A file was deleted"

And push your commit upstream:

git push

猜你喜欢

转载自blog.csdn.net/qq_33471057/article/details/91177071