Git Better Than 95% of People

preview_player
Показать описание
Lazy Git is my new buddy when it comes to anything beyond pull/push/commit. I combined it with Tmux for extra sweetness, and in this video I cover the main features, motions, and the why & how I use it.

Best ways to support this channel:

⏱ Timestamps
00:00 - Intro
01:05 - Fugitive
02:05 - LazyGit
06:14 - Work Trees
07:40 - Comparing Commits
08:15 - My Setup

#productivity #git #terminal #neovim #vim #system #program #dev #devops #software #sysadmin #sysops #linux #macos #unix #console #cli #keyboard #commandline
Рекомендации по теме
Комментарии
Автор

In fugitive, you can show diff using "=" and stage specific lines with "s", including a visual selection of multiple lines. I didn't check, but I assume that using "5s" to stage the next 5 lines should also work. And of course "cc" in fugitive creates commits from the staged files.

kesor
Автор

I’m seeing a lot of… idk like - low quality comments here showing a lot of ‘poor form’ or just crappy feedback so I figured I would try and even it out.

Loving your content man ❤. I’ve been following you for quite some time now and I really enjoy the content you put out.

Video ideas: perhaps a way to structure your neovim config itself, (like the actual configuration) in such a way that it’s completely aimed at optimising loading time and the on the fly performance.

Got quite a shitty work laptop, and although I have built a couple iterations of a config I found it often times get hitches or awkward bugs that I really shouldn’t be getting lol. So have started building a third iteration from scratch that’s purely focused on optimising both load time and any/all of those performance hitches out of the way. Be interesting to see an active devs perspective on something like that.

Hellbending
Автор

Very cool video! Lazygit actually adds some unnecessary overhead to my workflow. I found that in a project using git flow, fugitive is more than enough to do anything you need (stage, rebase, reword, squash, cherry-pick, diff merge, etc). Bysect and reflog are so rarely used that it doesn't make a lot of sense to add another tool on top of fugitive

infrofl
Автор

what a amazing video!!! loved the way you have edited the video. I am sure that must have taken a lot of time to edit it

VinitKhandagle
Автор

one thing I adore about git is that its usefulness extends WELL beyond software. Really, any plaintext on a computer becomes perfectly paired with git after you understand a handful of concepts. Of course, a lot of plaintext on computers is written by devs. But, I'm sure at least a tiny bit is not

christopher
Автор

Maybe too much to ask but can you create a git tutorial playlist?

I mean with time we pickup something that we don't feel much about so if you can share them.

niksingh
Автор

Amazing video always improving my workflow thanks to you

NoctuaDeveloppement
Автор

In fugitive do `:Git` and then in the menu open a file with `i` to see the change. Then you can do a visual line selection (`Shift+V`) and select lines. Press `-` to stage only the selected lines. This is the same as what you are doing with LazyGit at 2:51

Thanks for the video

estebanblanc
Автор

Stopped using lazygit and fugitive in favour of Neogit, has everything I need for day to day job.

KuzyoYaroslav
Автор

Did you try neogit already? I liked it more than fugitive and the development is super active

mrfsher
Автор

The problem with lazyGit rebase things, is that it uses the same confusing wording as git does. Instead of saying `you want to Squash xxxx on top of yyyy` it says `into previous one`, which one is the previous one? The one below or the one above? is the list I see in reverse order?

Danielo
Автор

Interesting. Personally prefer using the combo of gitsigns, Neogit and Diffview. Both gitsigns and Neogit can stage specific lines

jemag
Автор

What terminal is that? I use iTerm 2 and copy your config file for tmux and does not look like that

ManuelEstrella
Автор

Lazygit is very cool and to get start fast as new neovim user. For me know fugitive is way better, because I created my on custom ui in nvim that is way more intuitive and less convolute then Lazygit.

brentsteyn
Автор

How do i get that floating command line prompt ui ? What is that plugin

SirJagerYT
Автор

have you read danluu's bog post on how being better than then 95% of people in a discipline is not that impressive. let alone being better than 95% of the world. most people in the world don't even practice the skill that you are practicing, so it's not a fair comparison. if you can write basic programs and python your better than like 95% of everyone because most people don't write python, so you're good at something that barely anybody does. congratulations

xxx
Автор

Imagine being a software developer and being better than ONLY 95% of the people in the world. Considering that probably more than 99% of the people in the world don't even know `git clone`, that's an extremely poor performance :D

stillWonderingWhyMe
Автор

the video should have been 18 minutes hahah

abdallahmeriouli
Автор

Bro really said fugitive is for "your IDE" while being misleading and simultaneously calling Vim an IDE 😂 Why not show Emacs's Magit? Oh wait ;)

stefanalecu
Автор

I really miss your old format, now you're starting to look and sound like every disgusting "get ahead of 90% of people by doing this" content creator out there. You're better that that.

danielvergara