Search code examples
gitgithub

i can't push on my git branch, everything is up-to-date, but nothing is pushed?


I am very confused why I cannot push on my branch, so I am trying to push but it says:

Branch feature/style set up to track remote branch feature/style from origin. Everything up-to-date

when I use git branch I am on my desired feature/style branch. I also used git pull it says already-up-to-date. but when i commit and push, nothing is pushed? help?


Solution

  • use this :

    git pull origin feature/style
    git push origin feature/style