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.

Binder correctly pulls the data for a branch, but git thinks it is in the master branch

See original GitHub issue

Bug description

When binder launches from a github branch, it gets the correct data for that branch. If you launch a Terminal window, git does not reflect that.

git branch
* master

Expected behaviour

In my example, I used the development branch. I expected git branch to report “development”.

Actual behaviour

See bug description, above.

How to reproduce

This is the contents of README.md in my development branch:

bindertest

Test of using branch in binder

Binder development branch

  1. Click on the launch binder badge.
  2. After jupyterlab shows up, launch Terminal panel
  3. In Terminal, git branch
  4. Reports “* master”, expect “* development”

Your personal set up

Not relevant

  • OS: Using Mac, but I don’t think that matters
  • Version:
jupyterhub --version
1.1.0
  • Configuration: N/A

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

Jenkins Multi-Branch job fails for some branches
When I branch master either from the repo in GitLab or via a git checkout -b locally and push back to Gitlab and...
Read more >
Improve documentation for new users not working on the ...
The content does show up if I use the master branch, but I was trying to test the binder environment setup, which currently...
Read more >
Chapter 9 Conflicts - GitHub Tutorial
This is a basic introduction to GitHub. ... (use "git pull" to merge the remote branch into yours) # All conflicts fixed but...
Read more >
omg, binder! - the stupidest thing... - Karl Broman
Back up, with binder. You've put your code and data in a github repository. Other people maybe want to try it out and...
Read more >
BitBucket PRs failing to checkout on initial run after PR ...
When new commits are pushed to a branch which has an open pull request, the pull ... I've faced same problem today -...
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