GitButler now supports first class conflicts, making rebasing less annoying
1–10 of 116 posts
Re: GitButler now supports first class conflicts, making rebasing less annoying
#2Re: GitButler now supports first class conflicts, making rebasing less annoying
#3Re: GitButler now supports first class conflicts, making rebasing less annoying
#4With syslog, everything in git is "fearless"
Either way, even simpler, imho, than any log that one has to comb through after the fact is to create a named backup
branch=$(git branch --show-current) && git switch -c backup-${branch} && git switch -
Carry on as planned and if you bork it all, switch to the backup branch which retains the original commits and all, delete the borked one and have another go git switch backup-somebranch && git branch -D somebranch && git branch -m somebranchRe: GitButler now supports first class conflicts, making rebasing less annoying
#5With syslog, everything in git is "fearless"
Dropbox doesn't have a notion of uncommitted data. Why should source control?
Re: GitButler now supports first class conflicts, making rebasing less annoying
#6With syslog, everything in git is "fearless"
Re: GitButler now supports first class conflicts, making rebasing less annoying
#7With syslog, everything in git is "fearless"
Did you mean reflog? Either way, even simpler, imho, than any log that one has to comb through after the fact is to create a named backup branch=$(git branch --show-current) && git switch -c backup-${branch} && git switch - Carry on as planned and if you bork it all, switch to the backup branch which retains the original commits and all, delete the borked one and have another go git switch backup-somebranch && git br…
Re: GitButler now supports first class conflicts, making rebasing less annoying
#8I was looking forward to trying this out, unfortunately Tauri dropped support for Ubuntu 20.04, and thus GitButler did as well: https://github.com/gitbutlerapp/gitbutler/issues/4881
Re: GitButler now supports first class conflicts, making rebasing less annoying
#9To me it's virtually zero in seven years but it might be due to the teams and projects I've been involved with.
Re: GitButler now supports first class conflicts, making rebasing less annoying
#10I would like to comment on this:
> I have been asked countless times if it's better to merge or to rebase and while I never want to stir up a hornet's nest, I have always advocated merging over rebasing.
I've been involved in this discussion many times as well, and the correct answer is that one isn't inherently "better", and you shouldn't _always_ prefer one over the other. There are situations when a merge is preferable (e.g. to keep a branch in history), and others when a rebase is (e.g. to, well, _base_ some work on a specific commit). The choice of when to use either will depend on the author's or team's preference in each case, which is why it's given as an option in most web-based PR/MR workflows. Squashing is another task you don't want to always do either.
I partly blame this confusion on Git's UI, and on the baseless fears spread about rebasing for years, which many developers mistakenly absorbed. The amount of times I've heard that force-pushing after a rebase is "dangerous" is too high. No wonder people find it scary...