Git doesn't remove files from remote -


i've removed stuff (including directories , files) in local branch.

when commit, says:

mauricio@mauricio-ubuntu:/var/www/moke$ git commit -m "better implementation" [ajax_branch 1a407ad] better implementation  56 files changed, 23465 insertions(+), 8 deletions(-) 

then push:

mauricio@mauricio-ubuntu:/var/www/moke$ git push origin ajax_branch  counting objects: 25, done. delta compression using 4 threads. compressing objects: 100% (18/18), done. writing objects: 100% (18/18), 7.97 kib, done. total 18 (delta 6), reused 0 (delta 0) git@github.com:giordanoapps/moke.git    17f53bb..1a407ad  ajax_branch -> ajax_branch 

but files i've deleted in local branch keeps in remote branch.

what doing wrong?

you have add deletion before commit.

git add -a 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

IIS->Tomcat Redirect: multiple worker with default -