No video

5 great Git & IntelliJ IDEA tricks

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

Marco Codes

Marco Codes

Күн бұрын

Пікірлер: 41
@paulweveritt
@paulweveritt 2 жыл бұрын
Marco, this video was so good, I watched it twice. It's hard to make a video like this: short but not too short, meaningful examples without being overwhelmed by detail. You nailed it.
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Thanks, Paul, really!
@hikingcloud
@hikingcloud 9 ай бұрын
This channel is so underrated and under-appreciated. Marco is doing such a fantastic job!
@MarcoCodes
@MarcoCodes 9 ай бұрын
Thank you for the very kind words :)
2 жыл бұрын
Nice tutorial, I didn't know the third way of rebasing. You asked for favourite git tricks: select any two commits in the log (tree view) and select "Compare..." from the context menu. Very useful for e.g. to check whether the outcome of interactively rebasing and squashing a branch is identical to the original version.
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Great tip! Thanks!
@dk-du8sm
@dk-du8sm Жыл бұрын
Nice and concise video, good job. Two other great visual features that I like in IntelliJ are "Stash/Unstash uncommitted changes" and "Annotate with Git Blame".
@MarcoCodes
@MarcoCodes Жыл бұрын
Yep, two very nice features as well!
@shubhamagarwal8297
@shubhamagarwal8297 6 ай бұрын
Thanks a lot subscribed
@santhoshsandy7792
@santhoshsandy7792 2 жыл бұрын
Lovely tutorial Marco❤️ Thank you for this
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Glad you liked it!
@equilibrium6577
@equilibrium6577 2 жыл бұрын
Thank you, Marco! As always - very useful
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Glad to hear that!
@gerhardat7244
@gerhardat7244 Жыл бұрын
Great Video! I always used merge instead of rebase. This will change now.
@MarcoCodes
@MarcoCodes Жыл бұрын
Great to hear!
@ayuobmousa6589
@ayuobmousa6589 2 жыл бұрын
good show Marco kept going PRO
@pavelradkevich8726
@pavelradkevich8726 2 жыл бұрын
Great job! Thanks a lot
@nisachannel7077
@nisachannel7077 3 ай бұрын
When using the “pull into using rebase” feature, why did you choose the origin/main under remote branches and not the main branch under local branches?? A related question is, after the ‘pull’ command finishes, will “local” main be 100% in sync with origin/main under remote branches?
@mzalewski
@mzalewski 2 жыл бұрын
wow, great tutorial! Thank you! ❤
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Glad you like it!
@KolosBros
@KolosBros 2 жыл бұрын
woow, third option for rebase is awesome!
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Right?! For whatever reason I also only learned about it recently.
@marin1419
@marin1419 4 ай бұрын
@@MarcoCodes Third time's a charm :)
@AntonArhipov
@AntonArhipov 2 жыл бұрын
Very useful video!
@vadimdidenko1443
@vadimdidenko1443 2 жыл бұрын
discovered you by just typing java logging reddit in google and ooooh booooooi Bro, you're f***ing saint!!!
@MarcoCodes
@MarcoCodes 2 жыл бұрын
:)
@DavidePavan
@DavidePavan 2 жыл бұрын
Very useful!
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Glad to hear that!
@YuriyKondrashov
@YuriyKondrashov Жыл бұрын
Hi Marco Why did you abandon your "Marco Behler" channel and started a new one without saying a word? I accidentally found this one)) Consider making a short video there, I guess a lot of your viewers will be interested in this one. Actually I wanted to add a couple of notes regarding the force push. First one is an advice to make a 5 second pause when the force push dialog appears, reread the branch name, think if there is the latest version of the branch locally and only then press "Force Push" button. Because if the developer mess up at this point it could be hard to restore the lost commits. (Yeah I know about reflog but it has a quite steep learning curve IMHO.) Second it worth to mention if the developer does a force push on the branch and some other developer works on the same branch this second developer will be forced to do a hard reset on remote to synchronize the changes. Which is quite inconvenient especially if he has his own changes that are not yet pushed to remote. Or maybe you know some tricks how can multiple developers work with force pushes one the same branch?
@MarcoCodes
@MarcoCodes Жыл бұрын
Hey Yuri, I guess since you are the ...fifth person or so asking I'll have to create a small video on the other channel which explains it :) Will do! Regarding force push. What I should have shown earlier in this video (and which actually comes _right after_) the force push section: In the IntelliJ log, you see that the "force push" button actually does a "force push --force-with-lease", which will protect against the scenarios you mentioned. (Though that won't help much if the user just clicks aways the next dialog windows that pop up, prompting him to potentially really force the push). Actually, I might just be tempted to create another short video just on the dynamics of pushing and the scenarios you mentioned, because there's much to be said about it. Thanks for your feedback!
@curry605
@curry605 Жыл бұрын
About the first trick, it is nice to rebase and keep it a straight line when working on the feature branch alone. But if the feature branch is also shared with teammates, rebasing and force push to origin is a bad idea right?
@MarcoCodes
@MarcoCodes Жыл бұрын
Yup, plain force pushes are. In that case you should _always_ --force-with-lease (which IntelliJ IDEA btw does as a default), but the more teammates you share your branch with, the more commits you have, that pretty soon is also no real option anymore.
@athakur33
@athakur33 2 жыл бұрын
Need more tutorials.
@MarcoCodes
@MarcoCodes 2 жыл бұрын
More more more :) ...are coming.
@skyfeelan
@skyfeelan Жыл бұрын
I just realized that git is almost as hard to use as vim
@marin1419
@marin1419 4 ай бұрын
Git is like a an operating system within an operating system.
@rieckpil
@rieckpil 2 жыл бұрын
Love the thumbnails #dontListenToRedditHaters
@MarcoCodes
@MarcoCodes 2 жыл бұрын
YOUR THUMBNAILS MAKE ME WANT TO STAB MYSELF IN THE EYES! ;)
@rniestroj
@rniestroj 2 жыл бұрын
Sayonara 😅
@no_fb
@no_fb 2 жыл бұрын
Thanks, that's useful! I never saw the bottom right menu, it's strange they hide it so far away. A little remark, your face is hiding the most relevant part of the screen, though it was possible to read the essential information. Perhaps it would be better placed at the top right, and maybe smaller?
@MarcoCodes
@MarcoCodes 2 жыл бұрын
Glad to hear! We've had tons of discussions & opinions on face, no face, location etc etc. Usually it's in the lower right corner because there's not much happening there, for this video we had to put it on the left. We'll see what happens in the future :)
SSH Tutorial - Crash Course
29:43
Marco Codes
Рет қаралды 15 М.
How To Approach Dependency Management in Java
16:55
Marco Codes
Рет қаралды 6 М.
Lehanga 🤣 #comedy #funny
00:31
Micky Makeover
Рет қаралды 29 МЛН
My Cheetos🍕PIZZA #cooking #shorts
00:43
BANKII
Рет қаралды 27 МЛН
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,1 МЛН
IntelliJ IDEA Tips and Tricks
51:37
JetBrains
Рет қаралды 19 М.
Git rebase is not that scary
21:44
Hitesh Choudhary
Рет қаралды 19 М.
How GIT works under the HOOD?
16:01
Tech With Nikola
Рет қаралды 194 М.
13 Advanced (but useful) Git Techniques and Shortcuts
8:07
Fireship
Рет қаралды 908 М.
IntelliJ IDEA. Debugger Advanced
1:13:03
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 33 М.
Neovim and Git: SOLVED
8:03
typecraft
Рет қаралды 65 М.
Everything You'll Need to Know About Git with ThePrimeagen | Preview
14:43
Intellij Coding Shortcuts You Need to Know
13:25
Sebastian Daschner
Рет қаралды 17 М.
IntelliJ IDEA: Debugger Upskill
20:11
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 16 М.
Lehanga 🤣 #comedy #funny
00:31
Micky Makeover
Рет қаралды 29 МЛН