In my feature branch, I rebased off main
in CLion which resulted in a couple of file conflicts and after solving them, I do:
git log
# commit <commitID-3>
# commit <commitID-2>
# commit <commitID-1>
git status
# Your branch is up to date with 'origin/featureBranch'
# rebase off main in CLion
# resolve conflicts
git status
# On branch <featureBranch>
# Your branch and 'origin/<featureBranch>' have diverged,
# and have 14 and 7 different commits each, respectively.
# (use "git pull" to merge the remote branch into yours)
- Does the following line imply the difference between local & remote branches?
Your branch and 'origin/' have diverged,
- How does the local branch have 7 extra commits? It's not including the ones I rebased, yes? How can I view the difference if even?
and have 14 and 7 different commits each, respectively.
Where's the commit that involved fixing a conflict?
Is the solution to force push?