On Fri, Sep 18, 2015 at 10:58 PM, Umair Khan <[email protected]> wrote:

> 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.
>
> Yes. Thanks a lot :)


> On Fri, Sep 18, 2015, 10:53 PM Shraddha Barke <[email protected]>
> 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
>> [email protected]
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to