No video

038 Gitlab Merge Request Merge Methods

  Рет қаралды 12,614

Dan Gitschooldude

Dan Gitschooldude

Күн бұрын

Today I explain all three merge methods for Gitlab projects and show exactly how those choices affect the commit tree. To change to the merge method go to your project page and click Settings / General / Merge Request.
UPDATE 9/2019: In this video I touch on Gitlab CI not being able to test the merged state of a topic branch. This is technically no longer true, see new enterprise feature: docs.gitlab.co...
If you are looking for an effective concise introduction to Git, I highly recommend my "Fundamentals of Git" course on Udemy: www.udemy.com/...
If you or your company is interested in live virtual software and tools training, see www.continuous... for a list of training topics we offer.

Пікірлер: 14
@Atilla8huno
@Atilla8huno 4 жыл бұрын
This is exactly what I was looking for. Cheers!
@jonnykopp
@jonnykopp 5 жыл бұрын
Hey Dan. Thank you so so much for these videos. You're answering questions that have blurred my understanding for years. I would love to see some videos targeting the various workflows(gitflow, githubflow, and I heard you mention a rebase flow, I'm sure there are more), possibly with 2 example contributors and a third qa authority's perspective for each of the workflows. Would be nice to at least get a clear overview of how they differ, and their strengths vs weaknesses. Thanks again for all the work you put into these.
@DanGitschooldude
@DanGitschooldude 5 жыл бұрын
Thanks buddy, glad you enjoy the videos! I've considered videos on different workflows but find it difficult to summarize the pros and cons in a useful way. In my experience the best workflow is different for every team and there are so many factors to consider like: team size, testing time, deployment process, developer's knowledge of git, network constraints, etc. I'll think on it some more though, you aren't the first person to make this type of video request. Thanks for watching!
@is-gm6hg
@is-gm6hg Жыл бұрын
This video is great! Thanks a lot! Dan, please never die!
@DanGitschooldude
@DanGitschooldude Жыл бұрын
Lol I'm still alive!
@is-gm6hg
@is-gm6hg Жыл бұрын
@@DanGitschooldude it is an expression we use in Argentina to empathize the importance of an individual, or how much it is beloved. Thanks again for your efforts to illuminate us
@nir8924
@nir8924 5 жыл бұрын
Much appreciated mate, thanks !
@user-tz8mi9hn1l
@user-tz8mi9hn1l 3 жыл бұрын
Awesome video.
@maxjf1
@maxjf1 2 жыл бұрын
Thanks for the video. Currently i'm having problems with merge requests because i need to rename a folder foo to bar and change it (keeping it history), and also create a foo folder, wich is a backup of the old foo, and it doesn't need to keep history (but it's good to if possible) the problem is, when i create an MR for this and merge it, somehow gilab smashes everything and thinks the bar folder is a new folder, not the renamed foo, and i lost all the history of foo in it. i disabled squash commit,
@DanGitschooldude
@DanGitschooldude 2 жыл бұрын
This is normal git behavior and doesn't have anything to do with gitlab. Git doesn't track directories it tracks files. If a new file looks like an old file path content-wise, git may detect it as a rename, but this isn't explicitly definable by the user and isn't always consistent. Whether a new file is detected as a rename or a brand new file depends on a number of factors. Thanks for watching!
@sushi2slushy
@sushi2slushy 4 жыл бұрын
how does merge request's downside happen (break master), if the commit branch tip and the new master commit are both the same?
@sushi2slushy
@sushi2slushy 4 жыл бұрын
or is it because the source branch "passes" but in reality would have cause conflict on the merge request, versus rebase/fast foward forces you to resolve them on the spot
@DanGitschooldude
@DanGitschooldude 4 жыл бұрын
Basically yes. Unless you have configured the project to require fast forward merges, the tip of the source branch is not the same state of code as the merged state.
@sushi2slushy
@sushi2slushy 4 жыл бұрын
@@DanGitschooldude Thanks Dan!
039 Gitlab CI's Biggest Design Flaw (Update: FIXED! See Description)
10:32
Demo: Merge Request reviews and discussion
23:26
GitLab Unfiltered
Рет қаралды 20 М.
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 39 МЛН
Look at two different videos 😁 @karina-kola
00:11
Andrey Grechka
Рет қаралды 14 МЛН
Вы чего бл….🤣🤣🙏🏽🙏🏽🙏🏽
00:18
GitLab merge request example
7:53
Cameron McKenzie
Рет қаралды 36 М.
031 Gitlab CI's Vision: Artifacts, Workspaces, and Runners
23:09
Dan Gitschooldude
Рет қаралды 18 М.
009 More about git submodules
19:47
Dan Gitschooldude
Рет қаралды 13 М.
13 Advanced (but useful) Git Techniques and Shortcuts
8:07
Fireship
Рет қаралды 908 М.
Git and Gitlab: Branch, Merge, and Tag
10:30
Robert Green
Рет қаралды 2 М.
DEMO: Track merge requests of cherry-picked commits when deploying
11:38
GitLab Unfiltered
Рет қаралды 7 М.
020 Remove a file from all git history
16:29
Dan Gitschooldude
Рет қаралды 32 М.
Git MERGE vs REBASE: Everything You Need to Know
4:34
ByteByteGo
Рет қаралды 385 М.
Issues, Merge Requests and Integrations in GitLab
7:18
GitLab
Рет қаралды 130 М.
032 Introduction to Git Subtrees
20:43
Dan Gitschooldude
Рет қаралды 39 М.