Are you using Global Git Ignore?

  Рет қаралды 287

Eddie Jaoude

Eddie Jaoude

Күн бұрын

Git Ignore is really powerful but it is over used. The Git Ignore is specifically for the project ignore items. For your personal ignore items (for example: IDE, operating system and any other dev tools you use), you should be using your Global Git Ignore. This will apply to ALL your local repos.
If you prefer to read about this subject, take a look at my blog post here: eddiejaoude.su...
---
MY BLOG AND NEWSLETTER
For my articles on Open Source as a Contributor and Maintainer, Web Development with Javascript and Typescript, my experience as a freelancer and remote work as a Digital Nomad, Content Creation, Personal Branding and monetising these, check out my Substack: eddiejaoude.su...
SERVICES I USE AND RECOMMEND
Some of these might be affiliate links but they're no extra cost you and you might get a discount if you sign up.
- Live streaming with Streamyard streamyard.com...
- Cloud hosting with Digital Ocean, you will get $100 FREE credit m.do.co/c/c258...
- Podia host your digital products (PDFs, Videos etc) www.podia.com/...
- Riverside for recording high quality podcasts riverside.fm/?...
---
#git #gitignore #repo
Are you using Global Git Ignore?

Пікірлер: 11
@eddiejaoude
@eddiejaoude Ай бұрын
I have blogs also eddiejaoude.substack.com/p/you-must-use-your-global-git-ignore
@rajneeshhtml1
@rajneeshhtml1 Ай бұрын
Great Information Eddie. Thanks for sharing
@eddiejaoude
@eddiejaoude Ай бұрын
@@rajneeshhtml1 thank you
@NotSneakyBlinder
@NotSneakyBlinder Ай бұрын
Wait, I can give repo maintainers a headache AND save 2Kb of disk space!? Sign me up! 👍
@eddiejaoude
@eddiejaoude Ай бұрын
huh? save maintainers and you a headache, use global git ignore
@NotSneakyBlinder
@NotSneakyBlinder Ай бұрын
​ @eddiejaoude Except, you have to micro manage everybody who is not using globals, which is.. basically everybody. Of course, you can assume that you live in a perfect world in which nothing ever goes wrong.. but here, in the real world, people forget to set up their global usernames and passwords whenever they install git on a new machine, if they can't be trusted to remember to do that, they can't be trusted to remember to set up their globals. And that, my friend, is a headache waiting to happen.
@eddiejaoude
@eddiejaoude Ай бұрын
@@NotSneakyBlinder yes it maybe an ideal view, which might not be practical. We should still keep educating people on the git feature and the benefits, one day we will get there - unfortunately people want to learn the "cool" stuff LOL
@NotSneakyBlinder
@NotSneakyBlinder Ай бұрын
@eddiejaoude I agree, it's a cool feature. I like cool features too. The thing is, .gitignore file gives me a total control over my repo. It's a file that tells other people what I do not want commited. Switching to globals takes away that control and gives nothing in return save for few Kbs. Yes, trying to play pokemon with it to catch every single unwanted thing makes no sense. I use vim, if I have a need to ignore some files that are specific to me and my setup, I can be a good citizen and put it in global ignore so that I don't bloat .gitignore with it. It's a perfectly resonable usecase for it. But expecting every Mac user to ignore Mac specific files, or every VS Code user to ignore .code directory is a recipy for headache. I know you know it, you mention that in your video. Except you dissmiss it with an equivalent of "trust me bro." And that's why I have an isse :)
@OutOfDevOps
@OutOfDevOps 27 күн бұрын
@@NotSneakyBlinder💯% it’s amazing for single contributor repos (a.k.a. Your personal repos) but immediately becomes unmanageable in a team.
I ranked EVERY terminal emulator. It was nuts
20:35
typecraft
Рет қаралды 73 М.
МЕБЕЛЬ ВЫДАСТ СОТРУДНИКАМ ПОЛИЦИИ ТАБЕЛЬНУЮ МЕБЕЛЬ
00:20
У ГОРДЕЯ ПОЖАР в ОФИСЕ!
01:01
Дима Гордей
Рет қаралды 8 МЛН
Men Vs Women Survive The Wilderness For $500,000
31:48
MrBeast
Рет қаралды 97 МЛН
Don't Contribute to Open Source
9:55
Theo - t3․gg
Рет қаралды 233 М.
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 417 М.
Dockerize Next.js 14+ App in 2024
4:20
Frontend Basics
Рет қаралды 2,9 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,1 МЛН
AI isn't gonna keep improving
22:11
Theo - t3․gg
Рет қаралды 183 М.
I forced EVERYONE to use Linux
22:59
NetworkChuck
Рет қаралды 542 М.
Mock serverside API requests using NextJS and MSWjs
13:30
Eddie Jaoude
Рет қаралды 208
Hacking Windows TrustedInstaller (GOD MODE)
31:07
John Hammond
Рет қаралды 628 М.
Creator of git, Linus Torvalds Presents the Fundamentals of git
1:10:15
Developers Alliance
Рет қаралды 95 М.
МЕБЕЛЬ ВЫДАСТ СОТРУДНИКАМ ПОЛИЦИИ ТАБЕЛЬНУЮ МЕБЕЛЬ
00:20