Github 'force push'-free workflow #6772
Replies: 2 comments
-
IMO, we should not add this feature. It's too much complexity to work around GitHub's poor support for force pushes. If you decide to not force push, it may be useful to override the default set of immutable commits to say that all remote branches (not just untracked ones) are immutable. See https://jj-vcs.github.io/jj/latest/config/#set-of-immutable-commits |
Beta Was this translation helpful? Give feedback.
-
the alias |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everybody,
I started testing
jj
. I'd like to use it for stacking PRs but without force pushing. My workflow looks like this:An important constraint is that while I want to logically amend in my client, I want to avoid force pushing since it messes up the comments in the PR which is very annoying. I'd like that a new commit is pushed to the remote (and the second PR also gets updated with the same commit).
Afaiu, if I want to avoid force pushing, I must create a new change with
jj new
and then move the bookmarks which is pretty cumbersome. I'm looking for ways to simplify this (and also proposing a setting where this would be done automatically by the tool).Beta Was this translation helpful? Give feedback.
All reactions