Add a button to clone branches
See original GitHub issueTo clone a branch manually:
- Go to the branch you want to clone.
- Click
Edit
on any file. Do not make any changes. - Make sure you have selected this:
- Open Chrome Dev Tools.
- Inspect the
Propose file change
button. - Remove the
disabled
attribute. - 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:
- Created 4 years ago
- Comments:25 (22 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Explained in #2500: it doesn’t move PRs
You can already clone it: