.gitignore Isn't the only way to ignore files in Git
181–188 of 188 posts
Re: .gitignore Isn't the only way to ignore files in Git
#182Earlier quoted context omitted.
Usually when I'm working in one part of the codebase and I have sample data or something at a specific path on my local machine and Im testing the same thing over and over again will I make a Makefile or something and info/exclude it to help me keep focused. That's one way I use it.
I use git worktrees pretty heavily in my own workflows (I worked like an AI agent before AI agents made worktrees cool). I like to track my ephemera/utility scripts in git, so what I do is keep a private ephemera repo for those, and then use `git worktree add` from the collaborative repo to check out the branch I'm working on there into a subdirectory of my ephemera repo. git-home/ company-project/ This way, too, I c…
Re: .gitignore Isn't the only way to ignore files in Git
#183Earlier quoted context omitted.
You may need to have certain directories be excluded depending on the programs you use. For example, the default Chrome profile location is within ~/.config, which includes cache data that can be multiple gigabytes in size.
Ouch. It doesn't respect `$XDG_CACHE_HOME`?
Re: .gitignore Isn't the only way to ignore files in Git
#184Here's how I use the excludes file to set a different config for a project directory containing multiple repos: https://laszlo.nu/blog/project-level-git-config.html
I *literally* cannot read that yellow text on the white background. I even tried changing the brightness to almost 0, but there is just not enough contrast.
Re: .gitignore Isn't the only way to ignore files in Git
#185Re: .gitignore Isn't the only way to ignore files in Git
#186Re: .gitignore Isn't the only way to ignore files in Git
#187Earlier quoted context omitted.
Usually when I'm working in one part of the codebase and I have sample data or something at a specific path on my local machine and Im testing the same thing over and over again will I make a Makefile or something and info/exclude it to help me keep focused. That's one way I use it.
I use git worktrees pretty heavily in my own workflows (I worked like an AI agent before AI agents made worktrees cool). I like to track my ephemera/utility scripts in git, so what I do is keep a private ephemera repo for those, and then use `git worktree add` from the collaborative repo to check out the branch I'm working on there into a subdirectory of my ephemera repo. git-home/ company-project/ This way, too, I c…