4

(!rant || git)

Non-techy friend (n): you know what cherry pick is?
Me: cherries?
N: you dont know that?
Me: well, i love cherries...
N: i am disappointed of you.
Me: what the f...ing hell is that?
N: you know the git thingy you are always doing...
Me: i have never heard of that...
N: well use it every time before and after you commit.
Me : (not believing, but kinda believing) ok.
A few days later...
Me: nnooooooooooooo.!
Messed up 3 hrs of work

-------------------
What really is cherry pick guys?

Comments
  • 6
    It applies a specific commit to your branch, regardless of which branch it's on, place in history, etc.

    Quite useful.
  • 3
    I don't understand your beginning. No rant or git? But it is a rant about git, so shouldn't it be (rant && git) or just rant? 🤔
  • 3
    @PuzzlesDev your name puzzles me... yeah... I just thought that || is and
  • 0
    @ashkin can u simplyfi mam

    Obviosly we all dont posses super intelligence and sexiness like u

    😍😗
  • 3
    @BroCow basically if there is a commit in branch B that you need in your branch A, but you can't take the entire branch in, you "cherry pick" the commit you want in your branch. ( iirc )
  • 3
    @CozyPlanes What?! || is and?!? What are you coding with?
  • 1
    Every commit generates a SHA regardless of the branch.

    If you want to copy the commit from one branch to another you use cherry-pick (specifying each commit by its SHA).

    You can also squash different commits to a SHA and then cherry-pick that SHA from another branch to copy it.
  • 1
    Man this whole thing is fucked, takes a genius to use gjt,, i will just use add to zip instead of.commit
  • 1
    @MrMargouillat I am just too sleepy
  • 2
    @BroCow No, please learn git. Zipped versions days are over. It does not take a genius to use git.
Add Comment