Maven (famous)@lemmy.zip to Programmer Humor@programming.dev · edit-213 hours agoMicrosoft Please Fixlemmy.zipimagemessage-square54fedilinkarrow-up1381arrow-down112file-text
arrow-up1369arrow-down1imageMicrosoft Please Fixlemmy.zipMaven (famous)@lemmy.zip to Programmer Humor@programming.dev · edit-213 hours agomessage-square54fedilinkfile-text
minus-squareOmega_Jimes@lemmy.calinkfedilinkarrow-up34arrow-down1·5 hours agoI’m not great at English, but “discard all changes” shouldn’t ever mean “Delete”.
minus-squareMichal@programming.devlinkfedilinkarrow-up20arrow-down2·5 hours agoIn the context of version control it does. Discarding a change that creates a file means deleting the file.
minus-squareOmega_Jimes@lemmy.calinkfedilinkarrow-up3arrow-down1·3 hours agoOk 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.
minus-squareFiskFisk33@startrek.websitelinkfedilinkarrow-up2·2 hours agoI guess the newly created git repository was empty, and all the files that was present in the folder represented “changes”
I’m not great at English, but “discard all changes” shouldn’t ever mean “Delete”.
In the context of version control it does. Discarding a change that creates a file means deleting the file.
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.
I guess the newly created git repository was empty, and all the files that was present in the folder represented “changes”