Global gitignore and .ignored files/folders

Global gitignore and .ignored files/folders

Released Wednesday, 26th May 2021
Good episode? Give it some love!
Global gitignore and .ignored files/folders

Global gitignore and .ignored files/folders

Global gitignore and .ignored files/folders

Global gitignore and .ignored files/folders

Wednesday, 26th May 2021
Good episode? Give it some love!
Rate Episode

Hello there friends So this morning I was just thinking about this littletip that I share with you. It's pretty quick. In my global git ignore,which is located in my home directory dot get ignore underscore global. Ihave a couple of things in here that I wanted to shout out and specificallythis morning.I was thinking about my ignored global good ignore. So I am I have a tworules that will ignore any files that or any directories that end in dotignored in any files that include dot ignored dot in the file name and sowhat this allows me to do is very easy.Within the context of my project create a temporary file like temp dotignored.js where I can script up a little things. I can requiredependencies and require files in my application and whatever all withinthe context of the app and I can mess around kind of like a playground sortof thing to work on something until I have it solid and then I can takethat code over to where it actually is.This can be really helpful when the feature that I'm working on isdifficult to like navigate to or whatever the case may be. And so yeah,Orlike it takes a series of steps even if it's not a UI thing if it takes aseries of steps to get it to this particular state.Having a little file that I can use as a playground that doesn't haveanything to do with get or whatever is really helpful. So yeah, the waythat I do that is a star dot ignored slash and so that's for directoriesthat end in dot ignored and star dot ignored dot star which will ignore anyof the files that I included dot ignored.A couple other things that I have in here that sometimes people don't have.So this isGoogle ignore this applies to all of the get projects in my on mycomputer a dot ds underscore store and so when you open up a directory inin the Finder app on a Mac and creates this really annoying file and Istill get pull requests from people all the time that included dot ds storeand so I think I actually add that to my get ignore for each project aswell when it's like an open source thing just to not deal with that.Also dot VS code. I know sometimes you can set like,Little local settingsin there and so sometimes I'll force add those but by default. I don't wantthat in there dot idea for web storm and then you've got some like NPM andyarn debug stuff some VIM stuff in here with a star dots SWP and yeahanyway just kind of some helpful tips.I think the biggest one is the diagnord. I also have dot local sometimes.I'll put that in projects for like here's the dot EMV dot local, so it'sjust the stuff that's local on my machine. I don't want to commit that.Hope that.Helps. Have a wonderful day.

Show More
Rate

Join Podchaser to...

  • Rate podcasts and episodes
  • Follow podcasts and creators
  • Create podcast and episode lists
  • & much more

Episode Tags

Do you host or manage this podcast?
Claim and edit this page to your liking.
,

Unlock more with Podchaser Pro

  • Audience Insights
  • Contact Information
  • Demographics
  • Charts
  • Sponsor History
  • and More!
Pro Features