[v0.19] Reporting a case where a branch couldn't have been initialized during a `clone --with-branches`
See original GitHub issueYou are here because you’ve got at least one branch that has not been initialized during a clone --branch=all
(or in the past clone --with-branches
).
Work have been done and merged to support as much merge cases as possible.
But it seems there is still cases not well managed.
One that seems not managed is the case where a branch that should be merged has been deleted and another one created with the same name.
At the moment, there is no plan to work on that for multiple reason.
What you could try:
- download and try the last development version of
master
branch in case a fix has not yet been released. (you even could test some pull requests to see if someone proposed a fix) - If you think you can improve the support of such cases (you are the one that has the tfs history with such case!), feel free to dive in the code and do a pull request. We will be happy to review and merge it…
- clone without branch support ( I know it’s not what you want 😦 but there is no solution yet) with
clone --branch=none
Issue Analytics
- State:
- Created 10 years ago
- Reactions:3
- Comments:112 (39 by maintainers)
Top Results From Across the Web
git tfs branch --init --all errors
The problem is caused by the branch having been renamed. There is a issue for this here but it has not yet be...
Read more >After git-tfs clone of two TFS stores, how to merge?
I can clone each TFS server into its own local GIT repo no problem, branches, history, all lovely. Is there any way I...
Read more >How to Get Started with GIT and work with GIT Remote Repo
A VCS serves as a Repository (or repo) of program codes, including all the historical revisions. It records changes to files at so-called...
Read more >Git error - Fatal: Not a git repository and how to fix it
This error means you attempted to run a Git command, but weren't inside a Git repository. Make sure you've: Navigated to the right...
Read more >Git - git-clone Documentation
Clones a repository into a newly created directory, creates remote-tracking branches for each branch in the cloned repository (visible using git branch ......
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 Free
Top 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
@nk111 Is your patched version of git-tfs by any change available ? I think I have a similar issue on a repository with ~20 years of history. I would love to try your version on that repo and see what happens.
Saw this error message - not sure what to do next reading the comments above
Is there some kind of diagnostic message I can provide?