I've been using Git for years, but only recently I started working for a
big company where they use `git rebase` to maintain a linear history.
One problem I have with this is that when I rebase a branch, I can't push
it to the remote again, I have to use `--force` because the remote has a
different history, before the rebase.
I don't like this because using `--force` means that if there were more
commits in that remote that weren't pulled, they'd be garbage-collected!
Is there a way to avoid this? (Aside from pre-checking manually on the repo
using `git fetch`.) I want something like `push --force` except it doesn't
discard actual commits, only commits that have been reordered due to
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.