issue with release/test branch?

6 views
Skip to first unread message

Szczepan Faber

unread,
Sep 7, 2016, 11:14:00 PM9/7/16
to mocki...@googlegroups.com
I pushed "release/test" branch. When I pull from git now, I get this:


Szczepan Faber

unread,
Sep 7, 2016, 11:15:39 PM9/7/16
to mocki...@googlegroups.com

Sorry, sent to quickly. Here's what I get when I do git pull on my different computer:


 * [new branch]      issue-594  -> origin/issue-594

error: cannot lock ref 'refs/remotes/origin/release/test': 'refs/remotes/origin/release' exists; cannot create 'refs/remotes/origin/release/test'

 ! [new branch]      release/test -> origin/release/test  (unable to update local ref)


How does git pull work for you?


Brice Dutheil

unread,
Sep 8, 2016, 4:45:48 AM9/8/16
to mocki...@googlegroups.com

Hi Szczepan,

I don’t have this issue.

On this repository I suppose this is an existing repo, not a fresh clone ?
If yes then check the local branches, I’m thinking there’s a release branch already. Just remove it, then pull again.

Maybe do a git gc --prune=now.


-- Brice

--
You received this message because you are subscribed to the Google Groups "mockito-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mockito-dev+unsubscribe@googlegroups.com.
To post to this group, send email to mocki...@googlegroups.com.
Visit this group at https://groups.google.com/group/mockito-dev.
For more options, visit https://groups.google.com/d/optout.

Tim van der Lippe

unread,
Sep 10, 2016, 7:17:20 AM9/10/16
to mocki...@googlegroups.com
I tried to check out but it appears that this branch has since been removed: https://github.com/mockito/mockito/branches/all

Op do 8 sep. 2016 om 10:45 schreef Brice Dutheil <brice....@gmail.com>:

Hi Szczepan,

I don’t have this issue.

On this repository I suppose this is an existing repo, not a fresh clone ?
If yes then check the local branches, I’m thinking there’s a release branch already. Just remove it, then pull again.

Maybe do a git gc --prune=now.


-- Brice
On Thu, Sep 8, 2016 at 5:15 AM, Szczepan Faber <szcz...@gmail.com> wrote:

Sorry, sent to quickly. Here's what I get when I do git pull on my different computer:


 * [new branch]      issue-594  -> origin/issue-594

error: cannot lock ref 'refs/remotes/origin/release/test': 'refs/remotes/origin/release' exists; cannot create 'refs/remotes/origin/release/test'

 ! [new branch]      release/test -> origin/release/test  (unable to update local ref)


How does git pull work for you?



On Wed, Sep 7, 2016 at 8:13 PM Szczepan Faber <szcz...@gmail.com> wrote:
I pushed "release/test" branch. When I pull from git now, I get this:


--
You received this message because you are subscribed to the Google Groups "mockito-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mockito-dev...@googlegroups.com.

To post to this group, send email to mocki...@googlegroups.com.
Visit this group at https://groups.google.com/group/mockito-dev.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "mockito-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mockito-dev...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages