Suppose I have the following commit history on my local-only branch: A -- B -- C How do I insert a new commit between A and B? 7 Answers...
We have a Git repository with over 400 commits, the first couple dozen of which were a lot of trial-and-error. We want to clean up these commits by squashing...
Would it make sense to perform git rebase while preserving the commit timestamps? I believe a consequence would be that the new branch will not necessarily have commit dates...
When I run: git status I see this: rebase in progress; onto 9c168a5 You are currently rebasing branch 'master' on '9c168a5'. (all conflicts fixed: run "git rebase --continue") nothing...
Suppose you have a history containing the three commits A, B and C: A-B-C I would like to combine the two commits A and B to one commit AB:...
I’d like to rebase to a specific commit, not to a HEAD of the other branch: A --- B --- C master \ \-- D topic to A ---...
Take the following case: I have some work in a topic branch and now I’m ready to merge back to master: * eb3b733 3 [master] [origin/master] | * b62cae6...
I have noticed that the two blocks of following git commands have different behaviours and I don’t understand why. I have an A and a B branches that diverge...
I’m a bit new to the whole rebasing feature within git. Let’s say that I made the following commits: A -> B -> C -> D Afterwards, I realize...
I’m having a problem with my git repo. For the last couple of days whenever I do a push to the server I get this message: “Auto packing the...