Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deal with scattered .gitignore files #1

Open
1 of 5 tasks
onkoe opened this issue Jan 26, 2023 · 1 comment
Open
1 of 5 tasks

Deal with scattered .gitignore files #1

onkoe opened this issue Jan 26, 2023 · 1 comment

Comments

@onkoe
Copy link

onkoe commented Jan 26, 2023

wait what

As-is, there are a lot of .gitignore files just floating around in subdirectories. While git accepts these as normal .gitignore files, and will still read them when it finds them, git has some special rules. Of these, it's most important that the .gitignore in the parent folders overrides those in child folders. Which is scary, and could result in data loss...

how do you plan to fix it?

I was going to dump all of these .gitignores into the root of the repo, as git suggests. Since we plan to have git submodules, though, it wouldn't make sense to move them, then rewrite them when these inner projects become submodules.

so..?

However, if we make larger repos for many projects e.g. Sooner-Rover-Team/Autonomous or Sooner-Rover-Team/Mission-Control, it makes sense to wait and see, as we'll still end up combining the .gitignore files anyways.

Tasks:

  • Break the giant repo into smaller repos
  • Remove .gitignore files from subdirectories
  • Fuse the old .gitignore files into larger ones
  • Stop worrying about data loss
  • Party
@Brasilius
Copy link

YUH!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants