I've removed some stuff (including directories and files) in my local branch.
When I commit, it 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 I push:
mauricio@mauricio-ubuntu:/var/www/moke$ git push origin ajax_branch
Counting objects: 25, done.
Delta compression using up to 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)
To [email protected]:giordanoapps/moke.git
17f53bb..1a407ad ajax_branch -> ajax_branch
But the files I've deleted in my local branch keeps in remote branch.
What am I doing wrong?
You have to add the deletion before commit.
git add -A
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With