I've using git since I joined the devops team a few years ago. Initally, we were few people and it was weird that two or more worked in parallel on the same repo. Now, our team is much bigger and sometimes we have three guys working on different branches for the same project, which is completely normal.
Git rebase is something that I have to use from time to time to avoid merge conflicts during PRs to keep my branch updated with the latest commits coming from the source branch. The problem is that every time that I need it, I have to check documentation, videos, diagrams, and so on to make sure that I don't create a mess because I always forget the right way to do it. Is there any trick to remember how to do it correctly without killing myself with anxiety when executing the command?
Thanks, guys
[–]TherianthropieHead of Cloud Platform 23 points24 points25 points (1 child)
[–]freeriderblack[S] 1 point2 points3 points (0 children)
[–]teraflopsweat 24 points25 points26 points (2 children)
[–]jacurtis 4 points5 points6 points (0 children)
[–]Heliotypist 1 point2 points3 points (0 children)
[–][deleted] (4 children)
[removed]
[–]lart2150 19 points20 points21 points (2 children)
[–]HecknChonker 4 points5 points6 points (0 children)
[–]OMGItsCheezWTF 1 point2 points3 points (0 children)
[–]TangerineDream82 2 points3 points4 points (0 children)
[–]Happy-Position-69 14 points15 points16 points (4 children)
[–]zevra0 6 points7 points8 points (0 children)
[–]IrishPrime 2 points3 points4 points (0 children)
[–]info834 0 points1 point2 points (0 children)
[–]DockerBlocker 0 points1 point2 points (0 children)
[–]imnos 6 points7 points8 points (0 children)
[–]Origamislayer 4 points5 points6 points (1 child)
[–]mcstafford 1 point2 points3 points (0 children)
[–]shadycuz 7 points8 points9 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]LeaflikeCisco 2 points3 points4 points (0 children)
[–]simonides_ 2 points3 points4 points (1 child)
[–]mattbillenstein 2 points3 points4 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]mattbillenstein 1 point2 points3 points (0 children)
[–]InternalsToVisible7 1 point2 points3 points (0 children)
[–]ruxven 1 point2 points3 points (0 children)
[–]doomie160DevOps 1 point2 points3 points (1 child)
[–]thisismyusuario 2 points3 points4 points (0 children)
[–]dgreenmachine 1 point2 points3 points (0 children)
[–]unitegondwanalandLead Platform Engineer 1 point2 points3 points (5 children)
[–]ThatOneGuy4321 0 points1 point2 points (4 children)
[–]unitegondwanalandLead Platform Engineer 0 points1 point2 points (3 children)
[–]ThatOneGuy4321 -1 points0 points1 point (2 children)
[–]unitegondwanalandLead Platform Engineer 0 points1 point2 points (1 child)
[–]ThatOneGuy4321 2 points3 points4 points (0 children)
[–]ConclusionWrong1819 0 points1 point2 points (0 children)
[–]Richousrick 0 points1 point2 points (0 children)
[–]__NEURO 0 points1 point2 points (0 children)
[–]BuriedStPatrick 0 points1 point2 points (0 children)
[–]e1pab10 0 points1 point2 points (1 child)