You have made 4 commits on your local branch.
You need to remove them by git reset.
One way is to do git reset --hard origin/staging-next .
Note that this will revert all the changes made by you.


On Fri, Sep 18, 2015, 10:53 PM Shraddha Barke <shraddha.6596@gmail.com> wrote:
By mistake I made some changes to staging-next branch
Now I've reverted those changes but I'm getting this message when I
checkout to staging-next

Your branch is ahead of 'origin/staging-next' by 4 commits.
  (use "git push" to publish your local commits)

How do I fix this?

Thanks in advance
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies