git - How to delete all files from repo that doesn't exist on my computer? -



git - How to delete all files from repo that doesn't exist on my computer? -

i'm new git (github me) , hope help me.

i work on 1 project , alter names of files. situation on computer have files want, in github - files: need , deleted (renamed files).

is there way automatically delete files doesn't exist on machine github?

you need create commit deletes files local repository , force commit github. that, do

git commit -a commit changes tracked files, including deletions git push force changes github

git version-control github

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -