r/ProgrammerHumor • • 1d ago • Bravo 1

Meme versionControl

Post image
1.2k Upvotes

19 comments sorted by

153

u/EmperorOfAllCats 23h ago

Somebody out there gitignores gitignore.

31

u/failedsatan 23h ago

more people should know about the exclude file, I think

9

u/EmperorOfAllCats 18h ago

Yeah, almost no one remembers it because it is hidden in the most stupidly named place (how is it "info"? why exclude and not ignore?) and mentioned maybe once in `man gitignore` nobody reads.

9

u/_ahrs 23h ago

Probably committed the gitignore file and wants to ignore other people's edits to it?

2

u/UncleKeyPax 21h ago

yeah. use that as base

4

u/the_horse_gamer 15h ago

there's a private ignore file in .git/info/exclude

40

u/hongooi 22h ago

should i git ignore her if she git ignores me

3

u/Bathtub-Warrior32 17h ago

Get rid of the ignore files and merge the conflict, then open a new branch called marrige.

26

u/Ved_s 22h ago

gitignore the makefile :3

that's how you go from open source to source available

1

u/No_Hovercraft_2643 2h ago

depends on the makefile xD

but the comment i wanted to write was, that open source/source available is a license question, not what is public/published.

11

u/superlee_ 21h ago edited 19h ago
  1. No, we like reproducible builds here
  2. No (unless the whole team uses it), should be in exclude or global config
  3. Yes
  4. Yes
  5. Same as 1
  6. Same as 2
  7. Same as 2
  8. No
  9. Yes
  10. The exclude file is for that

5

u/Snudget 20h ago

Why would you put him in the exclude file?

9

u/Tezlaivj 21h ago

don't forget to mark your env file as important by putting !.env.* in your gitignore

2

u/compulsaovoraz 7h ago

oh yeah, and for every update please git add . and git push origin main --force, so that you don't have any conflicts!

1

u/Individual_Win_3417 19h ago

should I gitignore my ex

1

u/surykum36 16h ago

My gitignore has better boundaries than i do..

1

u/Wahw11 6h ago

What happens if you gitignore gitignore

0

u/vpn_unlimited_app 15h ago

The git version is the only one with a clear answer. Ignore node_modules, ignore .env, do not ignore her.