question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unable to checkout remote branch when existing local branch has the same name

See original GitHub issue

Hi,

first of all, thanks for this nice tool.

I am getting this error message A branch with that name already exists. (as shown in the attchement) , when I click on Other branches , which are branches that do not appear anyway with git ls-remote – not sure if this is related to #2964

Thanks for your help.

screen shot 2018-04-25 at 15 06 54

ps: I am using v 1.1.1 on mac os 10.13.4

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:37
  • Comments:48 (11 by maintainers)

github_iconTop GitHub Comments

14reactions
zeusongitcommented, Apr 1, 2022

Waiting…

13reactions
IgNaCy07commented, Dec 4, 2021

Can this get fixed already?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git change branch when file of same name is present
git checkout name does: if it's local branch or explicit remote branch, switch to it. if it's a tracked path, reset it; if...
Read more >
Not able to checkout particular branch when the branch is ...
Hi, After repo init and repo sync, I am not able to checkout a remote branch it shows an message: "error: pathspec 'branchA'...
Read more >
Easily Perform Git Checkout Remote Branch [Step-by-Step]
Pushing a local branch to a upstream remote named origin with the same name as local. HEAD is a shortcut that simply means...
Read more >
Git checkout remote branch: how it works and when to use
This means that there is a local copy of the branch available on your machine. If you would check out a remote branch...
Read more >
How to checkout a remote branch in git - Educative.io
fetch all remote branches; Check branches available for checkout; Make a local ... Assuming that your remote name is origin , you can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found