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

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -