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.

Add a button to clone branches

See original GitHub issue

To clone a branch manually:

  1. Go to the branch you want to clone.
  2. Click Edit on any file. Do not make any changes.
  3. Make sure you have selected this:

image

  1. Open Chrome Dev Tools.
  2. Inspect the Propose file change button.
  3. Remove the disabled attribute.
  4. Click Propose file change.

🎉 In other words, it makes a spin off from your branch and makes an empty commit (I don’t know of any solution that wouldn’t create an empty commit).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:25 (22 by maintainers)

github_iconTop GitHub Comments

2reactions
fregantecommented, Mar 15, 2020

Explained in #2500: it doesn’t move PRs

2reactions
fregantecommented, Mar 15, 2020

You can already clone it:

  1. Visit branch
  2. Open branch selector
  3. Type new branch name
  4. Click create
Read more comments on GitHub >

github_iconTop Results From Across the Web

Clone and make a change on a new branch | Bitbucket Cloud
Click Branches from the left navigation. You'll see that you already have one branch — your main branch, master. · Click Create a...
Read more >
Git: Clone from a branch other than master - Stack Overflow
Try this: git init git fetch url-to-repo branchname:refs/remotes/origin/branchname. EDIT. A better solution: git clone -b mybranch --single-branch ...
Read more >
Cloning a repository - GitHub Docs
You can clone a repository from GitHub.com to your local computer to make it easier to fix merge conflicts, add or remove files,...
Read more >
First steps with git: clone, add, commit, push - Earth Lab
From your repository page on GitHub, click the green button labeled Clone or download, and in the “Clone with HTTPs” section, copy the...
Read more >
How to Clone a Specific Git Branch - DEV Community ‍ ‍
git clone --branch <branchname> <remote-repo-url> ... If you liked the solution, please hit the Clap button or comment if you have any ...
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