Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. COSo, when I rebased first-feature on dev, and then second-feature on first-feature, and then first-feature was merged into dev, the first-feature under second-feature has a different commit-hash than what was merged into origin dev? (This is confusing). Are there any problems with now rebasing second-feature on origin, and pushing that up? Will it merge into origin okay? It _seems_ as though it will work out. TBH I am not super happy with the flow here and all the rebasing, but then I am not very good with git yet. Seems to go against what most say (don't rebase).
      singulars
    2. COMore precisely, rebase makes a *copy* of a (or many) previous commits, but since the copies have at least one thing changed—usually a parent commit ID—they are at least subtly different so they necessarily have different "true names" (SHA-1 values). The *old* copy of the commit is still there in the repo, and any commits descending from the old commit, still descend from the old commit. (And, @d3vkit, yes: this is why people avoid rampant rebasing. Very *selective* rebasing is fine. :-) )
      singulars
    3. COgit is a very large tool chest, and it has a tool for just about everything you would need to do with managing code. Rebasing is a perfectly good tool in the right context. Usually, I make it a rule not to rebase with published branches and only rebase with my local branches. But to answer your question, it should be ok to rebase your second-feature with origin. Git actions can always be reverted and undone if it doesn't work.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload