python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Is there sort of a reverse cherry-pick in Git?
tl;dr: How can I keep the current last couple of commits on a branch, and replace the history before that with that of another branch?
I have a branch where I want to keep the existing last 3 commits...
Sled
Votes: 0
Answers: 2
git cherry-pick says nothing to commit
(note: this is not a duplicate question, see explanation below)
I first checkout master as a detached branch:
% git checkout --detach master
HEAD is now at fff9e1e687 modserver/go: skip Spotlight auto...
Victor de Fontnouvelle
Votes: 0
Answers: 2
Is there a way to make 'git cherry-pick -x' only record the most recent 'cherry-picked from' message?
When we use git cherry-pick -x <commit>, it records the source commit in the commit message as follows (cherry picked from commit 5f2662a29efaa91af6b356df2d5d1df69017cac1)
I have a bunch of comm...
rks
Votes: 0
Answers: 1
git cherry-pick all missing commits between two branches from the same master
I have the following situation:
two branches were created from master at different times
T0 T1
----+-----------------+------> master
| |
| ...
Shari Menson
Votes: 0
Answers: 2