kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* No subject
@ 2015-09-18 17:23 Shraddha Barke
  2015-09-18 17:28 ` Umair Khan
  0 siblings, 1 reply; 3+ messages in thread
From: Shraddha Barke @ 2015-09-18 17:23 UTC (permalink / raw)
  To: kernelnewbies

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150918/82c325ad/attachment.html 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* (no subject)
  2015-09-18 17:23 No subject Shraddha Barke
@ 2015-09-18 17:28 ` Umair Khan
  2015-09-18 17:36   ` Shraddha Barke
  0 siblings, 1 reply; 3+ messages in thread
From: Umair Khan @ 2015-09-18 17:28 UTC (permalink / raw)
  To: kernelnewbies

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 at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150918/0ee16de3/attachment.html 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* (no subject)
  2015-09-18 17:28 ` Umair Khan
@ 2015-09-18 17:36   ` Shraddha Barke
  0 siblings, 0 replies; 3+ messages in thread
From: Shraddha Barke @ 2015-09-18 17:36 UTC (permalink / raw)
  To: kernelnewbies

On Fri, Sep 18, 2015 at 10:58 PM, Umair Khan <omerjerk@gmail.com> 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 <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 at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150918/2579d641/attachment.html 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-18 17:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-18 17:23 No subject Shraddha Barke
2015-09-18 17:28 ` Umair Khan
2015-09-18 17:36   ` Shraddha Barke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).