-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Committing happens to a new branch with the name suffixed -1
?
#4124
Comments
Yes it did already exist, I was trying out GitButler for the first time on an existing project (probably quite a common scenario for newcomers?). It pushed to the suffixed remote branch, creating it, and left the local branch set to that upstream where previously it had been the unsuffixed one. I thought I'd enabled allow it to force-push anyway, but either way I think this is confusing behaviour and unlikely to be what you wanted - I would have expected that if it couldn't force push (or lease expired or something) that it would just error and let me work out what I want to do. |
Thanks for elaborating! Being a newcomer with the application myself I still have trouble in retracing your footsteps. Maybe @krlvi would immediately know what's going on though, he knows all the nooks and crannies. |
I too experienced this when trying to push to my After clicking push I ended up with a What I really wanted was just to push a single commit to I clicked "Set remote branch name", and changed it from When this happens, maybe refuse to push before confirmation and then just push to the named branch? |
Hi @OJFord @davidolrik, we have been primarily focused on supporting a workflow where you push feature branches and merge them into e.g. If you don't mind me asking, what are your main drivers for wanting to use GitButler outside the scope of concurrent feature branches? |
@mtsgrd I've always had a workflow where I rebase my work into logical chunks, and doing this manually takes a bit of time. What I like about GitButler is that I can do this way faster by just dragging by commits from virtual branch to virtual branch. And feature branches are not always needed, eg when working on solo projects or the "it must go out now!" bug fix. |
@mtsgrd Mine was a feature branch, called fix-python-reqs or something like that, not master or main. |
I think the |
Yes, I mentioned that above: #4124 (comment) As I said there I think that's probably really common for people using GitButler for the first time, not only because it's more likely to have an existing than a brand new project, but because that's where you're going to have the problem that makes the GB solution appealing - at work or otherwise collaborating with many people, on an established project working on multiple things (or with bugs that need a workaround) at once. |
Version
0.12.5
Operating System
Mac OSX
Distribution Method
dmg
Describe the issue
When you commit to one of the branches on your virtual branch
branch
& push it seems to create a new branchorigin/branch-1
and theorigin/branch
(nor the local ref) is not updated?How to reproduce
Have a virtual branch, make a change, commit it to one of the branches, push that branch
Expected behavior
Update the existing branch
Relevant log output
No response
The text was updated successfully, but these errors were encountered: