824
submitted 1 day ago* (last edited 1 day ago) by Maven@lemmy.zip to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] Omega_Jimes@lemmy.ca 70 points 16 hours ago

I'm not great at English, but "discard all changes" shouldn't ever mean "Delete".

[-] Michal@programming.dev 31 points 15 hours ago

In the context of version control it does. Discarding a change that creates a file means deleting the file.

[-] Omega_Jimes@lemmy.ca 3 points 13 hours ago

Ok fair enough, but I'm under the impression these files existed before the source control was implemented.

I guess it's all up to how the program handles existing files.

[-] FiskFisk33@startrek.website 4 points 13 hours ago

I guess the newly created git repository was empty, and all the files that was present in the folder represented "changes"

load more comments (2 replies)
load more comments (6 replies)
this post was submitted on 20 Nov 2024
824 points (97.5% liked)

Programmer Humor

19622 readers
2633 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS