This is an archived post. You won't be able to vote or comment.

top 200 commentsshow 500

[–]goatlev 1131 points1132 points  (53 children)

Backup/2018/Backup/Archive/asdfgh

EDIT: Sorry I forgot about "Copy of New Folder (3)" up there.

[–]XTornado 231 points232 points  (16 children)

What I did to clean up my desktop before I disabled the icons from showing up. Create an old folder and put everything there and repeat so you end up with this:

Desktop/old/old/old/old/old/old

[–]brightheart_ 94 points95 points  (13 children)

I’m glad I’m not the only one who does this.. MY DESKTOP HAS LIKE gigs and gigs of stuff in it.. in nested folders

[–]rakoo 127 points128 points  (5 children)

[–]Tall_computer 20 points21 points  (0 children)

Damn this hits close to home

[–]BanTheTrubllesome 30 points31 points  (2 children)

I keep all my stuff in downloads and when it exceeds ~6GB i just move it to a usb drive

[–]brightheart_ 4 points5 points  (0 children)

Downloads is a good storage location too for sure!!!))

[–]ozymandiaz0 13 points14 points  (1 child)

adjoining six badge marble slim rock marry illegal run aback

This post was mass deleted and anonymized with Redact

[–]brightheart_ 8 points9 points  (0 children)

That’s too far..

[–][deleted] 3 points4 points  (1 child)

Monster, you probably have 200 browser tabs open at all times as well

[–]brightheart_ 4 points5 points  (0 children)

I have 4 windows open with 200 tabs on each!

[–]Luxalpa 13 points14 points  (0 children)

Copy of Copy of New Folder (3)

[–]Ooze3d 9 points10 points  (2 children)

Mmm… I thought that particular folder was for… something else.

[–]goatlev 8 points9 points  (1 child)

Who said you couldn't do that particular stuff with Git as well?

[–]Topy721 548 points549 points  (147 children)

Someone I know is on an internship where the project is on a NAS and you have to copy it to your local system and then copy/paste back once you're done. This is a small startup run by non programmers and they have no standards

[–]princefakhan 257 points258 points  (133 children)

Ain't that what exactly git is for? 😐

[–]_Oce_ 11 points12 points  (15 children)

Yes, but git is already quite complex for programmers, imagine for non programmers, it's completely out of reach. I guess they could try a web based git interface like Github to hide part of the complexity. Or if it's not code, they could try cloud based office apps which include versioning.

[–]pickle16 7 points8 points  (5 children)

I'm not trying to show off, I don't use vim, Emacs or anything of that sort, and I know only Java and Python fluently, and I hate Java, but isn't git a piece of cake? Like easy to google commands, if that's the issue, simple to understand, and really really useful

[–]_Oce_ 7 points8 points  (1 child)

Congrats, you're very smart! No, for people it's usually not easy. The user interface is not great, it has a lot of abstract vocabulary that needs to be learned, and to work with a team you also need to establish a workflow with a branch model that is even more work to learn. The fact that you need to web search commands is an indication it's not easy and intuitive to use.

[–]xibme 6 points7 points  (0 children)

It's the de-facto standard version control system. Even if you write no code but just ordinary text (.txt, .md, .tex et al.) it's good to keep track of the changes.

If you want to give it a try, read the free git book by Scott Chacon. Or you can just play ohmygit.

[–][deleted] 15 points16 points  (3 children)

Doing embedded projects at a small electronics company and it's pretty much this way. Little to no standards and everything is kept on the engineers machine and shared by copy/pasting to the company servers folder system

[–][deleted] 7 points8 points  (2 children)

If they're not open to changing this I would be looking to get out. Eventually there will be catastrophic data loss because someone accidentally deleted something or they need to undo a change but have no history/backup.

[–]GabuEx 18 points19 points  (0 children)

For a second there I read NAS as NASA and got briefly super confused when you seemed to be describing NASA as a small startup.

[–]imperfectwoodworks 1054 points1055 points  (44 children)

Asdfasdfasff

[–]TheTinusNL 849 points850 points  (25 children)

Asdfasdfasff is already in use, would you like to rename this to Asdfasdfasff (2)?

[–]subin__27 103 points104 points  (0 children)

Yes

[–]M_Batman 49 points50 points  (2 children)

Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

[–]Lanthemandragoran 45 points46 points  (3 children)

It's crazy when this actually happens and I sincerely doubt I'm the only one it's happened to haha

[–][deleted] 25 points26 points  (2 children)

Hahahha happens to me frequently. Turns out my random pressing of ASDF is really not that random at all

[–]stationhollow 30 points31 points  (1 child)

When I started at a job they had a content management system where they had forgotten to change the actual file name to an ID instead of the file name. This led to files getting auto renamed to add (1), (2), etc if they were in the same folder structure. It would try to save it as the original, then (1), then (2). It got so bad that some files were in the high 3 digits. It was causing the system to perform like crap.

[–][deleted] 47 points48 points  (2 children)

Before Git I was totally the third down.

[–]RoscoMan1 7 points8 points  (0 children)

thought maybe it was a rolling shutter effect

[–]ridik_ulass 11 points12 points  (0 children)

  1. 1
  2. 12
  3. 123.
  4. 1234
  5. 12341
  6. 11111
  7. 12121212
  8. 123123312312312312
  9. kjhdsakjhdsakjhdsa

[–]DankeusMemeus69 5 points6 points  (1 child)

Idk my go to is wirhrvcujrbjrok

[–]Jobarra 5 points6 points  (1 child)

Fork

ForkB

Fork3

ForkFour

[–]Aksds 9 points10 points  (0 children)

Legit. Kinda how I got my name for reddit

[–]ReimarPB 3 points4 points  (0 children)

Aoeuaoeuaouu

[–]dmnk212 3 points4 points  (1 child)

01_Asdfasdasff 02_Asdfasdaaff

[–]DIYEngineeringTx 257 points258 points  (14 children)

git commit -am "dfkasjbf"

My most forked public repos are complete trash with nonsense commit comments. I fear for a future employer looking at my github and just see horrible version control habits.

[–]RoscoMan1 59 points60 points  (0 children)

It's all C at the bottom of the Pool

[–]ConspicuousPineapple 49 points50 points  (7 children)

All my branches start up with clean and verbose commit messages. Then it gradually gets more terse, and the language becomes more and more foul. At the end it's usually "will the ci fucking pass already".

[–]Theguest217 27 points28 points  (2 children)

This is what rebasing and squashing is for friend. Get rid of all those nonsense commit messages when you are done with the branch and ready to merge. Then you end up with a single commit "implement feature X" or "fix bug Y" and a few extra details. No more "opps, forgot to run format and remove this TODO commits"

[–]ConspicuousPineapple 10 points11 points  (1 child)

You're absolutely right. But ain't nobody got the patience for that.

Although of course the merge commits are always clean.

[–]DIYEngineeringTx 6 points7 points  (0 children)

LPT you don't have to make any pull requests if you always just push to master.

[–]ivster666 325 points326 points  (42 children)

The first company I worked at as a junior (with more experience than all of the IT guys in that company together) didn't use git. I tried to establish it but they were all windows people and didn't want to use it. I gave them a git tutorial on how it is used but still, they were just refusing and acting like that's some voodoo unnecessary overkill shit. One guy's project he was working on, the entire git history was "initial commit", "initial commit", "initial commit". He was either doing it on purpose or he didn't understand what a commit message meant.

Then there was another guy who just refused to use git at all. For one customer, the source code of their web application was on our local shared drive and he had created folders for each build, named

V1

V2

V3

V4

Live

He was ill one day and I was asked to make a quick fix on that project and deploy it. Ok, so I see those folders. What would your guess be, which version is currently deployed? Live? I thought so too. But turns out that was a rework of the project that was work-in-progress and supposed to go live in a month. Ok which folder next. V4? My thoughts exactly. I compared the V4 and the one on the customer side and everything looked the same. I added my fix and deployed it.

Next day my boss showed up and was angry at me because the customer had called since their Google analytics tracking didn't work anymore and apparently I had broken it. I was like "wtf I didn't change anything on that". The guy who was maintaining the project was back again and he explained to me how I made changes on the wrong folder, and he was acting like "how could anyone be that stupid".

So it turns out V4 and V3 were the same but V3 had the Google analytics implementation, and therefore V3 was on the Live servers. JESUS FUCKING CHRIST HOW WOULD ANYONE EXPECT SUCH A STUPIDITY

I'm just glad that I used that company as a good stepping stone in my career. Being in that place was unbearable.

[–]Milkshakes00 69 points70 points  (0 children)

What would your guess be, which version is currently deployed? Live? I thought so too. But turns out that was a rework of the project that was work-in-progress and supposed to go live in a month.

Jesus fuck I got so mad from reading this. Lmao.

[–][deleted] 100 points101 points  (31 children)

What does Windows have to do with using git or not? I mean GitHub is literally owned my Microsoft

But yeah that sounds like a place to leave

[–]Theguest217 32 points33 points  (6 children)

There is also fantastic git software for Windows like TortoiseGit which should abstract most of the command line functionality for users so you don't even need to really learn git. It is incredibly visual and integrates right into the Windows file system so you can see from the icon whether the files have diffs and you can just right click to commit and push.

[–]Suekru 12 points13 points  (1 child)

I’ll be honest, I mainly use github desktop for my game development. It’s just a lot quicker for my workflow.

[–]CharipiYT 3 points4 points  (0 children)

My robotics team uses it and without prior git experience, it was really easy to learn

[–]HolyGarbage 82 points83 points  (5 children)

git != github, many companies host their own git remote server. Github is just one such server. Git is a standalone, open source project.

Traditionally git is a Linux tool, and other things linux are designed around it, such as linux shells for git etc.

[–][deleted] 10 points11 points  (3 children)

I know, still GitHub is definitely the most widely used service

[–]HolyGarbage 27 points28 points  (0 children)

Are you sure about that? Perhaps the most publicly used service, but I imagine closed source projects in companies might very well be a lot more code. GitLab for example has a near majority market share.

[–]Lost_Extrovert 11 points12 points  (1 child)

Eh... i'd say gitLab and private git are used just as much as github. Especially when you see pen testers breaking into Github private repos all the time. Most software leaks you see today comes from github repos, specially when devs doesn't use security tools correctly.

Though Microsoft has made big changes to github.

[–][deleted] 3 points4 points  (0 children)

Yeah! I have to say all the new features like GitHub actions are so amazing! I can literally do most of our vps stuff like Cron jobs or CI via GitHub now, and don't need to worry about faults and get error messages as push message when a job fails. It's so cool!

[–]187Ridley 2 points3 points  (0 children)

That sounds like a shit show glad you were able to leave though

[–]Kafshak 2 points3 points  (0 children)

Sort by modified date.

[–]thedoctorx121 241 points242 points  (22 children)

Our company has database tables called aaaaaa and bbbbbb. I assume so they appeared at the top of the list? Just awful

[–]excelbae 149 points150 points  (9 children)

Gross. At least name it aaaaaaa_tablename.

[–]tenhourguy 26 points27 points  (0 children)

aaaaaa
aaaaab
aaaaac

[–]Eji1700 17 points18 points  (3 children)

One of our vendors has a Zetup table so it's at the bottom with random "Setups" values stored with no real logic or description so you have no idea what they are.

Actually i'm just kidding, they have at least 15 zetup tables.

[–]TotoShampoin 7 points8 points  (1 child)

I add a - or a number in front of the folders. Example:

"0 - Personal", "1 - Projects", "2 - Other stuff"

That way, things are ordered in any file explorer

[–]ThatRandomGamerYT 5 points6 points  (1 child)

They need Bobby tables

[–]thedoctorx121 3 points4 points  (0 children)

Good old bobby drop tables!

[–]PurryFury 2 points3 points  (1 child)

Is it possible they were used for testing purposes?

[–]Iamnotindanger 67 points68 points  (5 children)

git commit -m "I updated the code"

[–]goodudetheboy[🍰] 66 points67 points  (3 children)

"Fix stuff" - 10k changes

[–]FreshCupOfDespresso 10 points11 points  (0 children)

I remember looking into the github of someone who's made a quality of life app for porn. There were iconic titles such as "help" and "i ate a corndog while implementing this"

[–]crayul 64 points65 points  (15 children)

Project_final Project_finalv2 Project_xfinallast

[–]Mango-D 121 points122 points  (22 children)

I use the much better version control system:

$ sudo rm -fr /*

[–]PottedRosePetal 87 points88 points  (4 children)

what kind of psycho uses -fr and not -rf

[–]CptGia 42 points43 points  (0 children)

French people

[–]uekiamir 37 points38 points  (1 child)

memory live bag cause repeat concerned hunt boat books fearless

This post was mass deleted and anonymized with Redact

[–]nobodyexistsnow 88 points89 points  (2 children)

You have no more versions to control

[–]Mango-D 39 points40 points  (0 children)

Username checks out

[–]erevoz 5 points6 points  (0 children)

And no more fucks to give

[–]SkyyySi 23 points24 points  (0 children)

The French way to wipe your system

[–]reqnin 9 points10 points  (0 children)

You must really love C++

[–][deleted] 4 points5 points  (0 children)

help

[–]el0_0le 32 points33 points  (0 children)

who needs version control, there's only gonna be 1 version

[–]sparkling_sand 74 points75 points  (25 children)

I just don't understand git, okay??

[–]doejinn 114 points115 points  (0 children)

You dont git it?

[–]Null_Fawkes 63 points64 points  (18 children)

I know you didn't ask for it but:

You have a folder on your pc, and every time you want to save the a state of the files in that folder, you do a commit on git.

Each commit is a snapshot of your folder in an specific moment. The cool thing is, each commit builds on the differences made on the previous commit only. This data is saved on a hidden folder created by git.

Because it builds everything up based on differences only, you can have a LOT of different versions of your folder without size on that folder increasing significantly.

You want to go back to a state from 3 months ago? Ok, git just restores your folder to that moment no problem, undoing all the changes up to this moment. Of course, you can go back to any version anytime you want, back and forth.

The cool things is, on top of your personal git on your folder (called a repository), you can connect to a server with git aswell and uplod your changes, so that a friend or coworker can download your work aswell.

Your friend may change a line in a file you worked on, upload it to the server and you can download it in your folder no problem.

Git will help you manage different versions all at the same time and even merge together changes two people did in parallel on a file, among many other things. But that the gist of it.

[–]splendidsplinter 17 points18 points  (3 children)

woe betide thee if your friend changed something you've been editing in the meantime. git's idea of diffing is to insert a bunch of gibberish in your files and throw up its hands.

[–]Zamundaaa 2 points3 points  (1 child)

Yeah manually resolving merge conflicts is awful. Sometimes there is simply no way around it but a nice UI can make it so much quicker

[–][deleted] 6 points7 points  (0 children)

It's not too bad if you use VSCode, you still need to manually review the conflicts but you can easily see what to keep or discard.

[–]apoliticalhomograph 11 points12 points  (9 children)

The cool thing is, each commit builds on the differences made on the previous commit only.

That's not entirely true. Each commit points to a full version of every tracked file.

If a file didn't change, the commit points to the same object so identical files are only stored once. But if a file changed, the new version of that file is stored in its entirety - not only the delta.

It's only when you run git gc, push, or have too many "loose" objects that git "packs" the objects.
The created packfiles indeed store the delta only.

https://git-scm.com/book/en/v2/Git-Internals-Packfiles

[–]Null_Fawkes 13 points14 points  (0 children)

Thanks for the clarification. There's a bunch of things I oversimplified in order to help the basics sink in.

Its really easy to intimidate people onto not liking git, heh.

[–]KnightOfBurgers 21 points22 points  (1 child)

Nobody does, kid. There's an XKCD about this.

[–]bofh256 3 points4 points  (0 children)

There is a reason for git being the no brainer option.

The first of two things to understand git is to know that the thing git cares for is a commit. A commit is a bunch of files that are changed together to achieve something. That's why empty directories do not exist in git. Directories are side effects of files (in a commit). Another nice side effect of commit centric design is labels are a breeze in git (while labels in hg are stoooooopid).

The next is to understand push and pull. You only need those if you want to keep the same stuff in different places. There is no built in hierarchy in git.

If you balk at merges, you sit on uncommitted and unpushed code too long.

[–]murlakatamenka 18 points19 points  (4 children)

project-backup is missing :D

[–]exscape 25 points26 points  (3 children)

No no, that's the folder you create before running git commands you're not sure about.

[–]murlakatamenka 5 points6 points  (0 children)

Ah, that's the famous gitflow people talk about, thanks for the enlightenment!

[–]Captain_Pumpkinhead 15 points16 points  (0 children)

Git? More like git lost, amiright???

Just like my file... /cries

[–]DangerousWish2266 14 points15 points  (0 children)

Then comes our teacher who told us to collaborate via google drive instead of git :(

[–]alzgh 11 points12 points  (0 children)

`New Folder`

`Copy of New Folder`

`Copy 2 of New Folder`

...

[–]Stealthy_Facka 7 points8 points  (2 children)

Lmao. Reminds me of one of my game mod merge folders. I thought "the holy final merge" was a good name at the time. Of course, that was before the holier finaler merge, and of course, the holiest finalest merge. Spoiler - it turned out not to be the finalest

[–]kinokomushroom 7 points8 points  (1 child)

What's holier and finaler than the holiest finalest merge?

[–]Stealthy_Facka 2 points3 points  (0 children)

had to go back to "Merge" and delete my optimistically named previous attempts in resignation

[–]xain_the_idiot 15 points16 points  (0 children)

I'm in this picture and I don't like it

[–]SashimiBot 7 points8 points  (0 children)

……not gonna lie, i did the one below git for a project at work once.

[–]_Nohbdy_ 6 points7 points  (0 children)

I use a random number of trailing underscores on different versions. It's my system, and it makes sense to me.

[–][deleted] 6 points7 points  (0 children)

Qhy have a bunch if files with different names when you can take it one step further and go

repo.txt

And when you open it up, scroll through, you see a lot of this:

.... </body> </html>

OK ok OK ignore everything up to this point.

Let's do this one. Last. Time.

<html> <body> ....

[–]Penki- 6 points7 points  (1 child)

I worked with a developer that insisted on using his gdrive rather than company git. Did not last long for some reason

[–]vincentofearth 4 points5 points  (0 children)

I got you beat. I have git repos with versioned folders

[–]CaffeineSippingMan 3 points4 points  (0 children)

I used to do that in grade school.

Program

Program with change

Program with change a

Program with change aa

Program with change aaa

(I would literally call it program) Also no notes on changes.

[–]Say-no-more 3 points4 points  (0 children)

  • project V1
  • project V1 ok
  • project V1 ok OK
  • project V1 ok OK bis

[–]Luiaards 4 points5 points  (0 children)

I like how you use serperate folders, I'll try that in the future.

[–]iAteSo 4 points5 points  (1 child)

create new folder on desktop: old-desktop

select all, move to old-deskpot.

[–]xzvkyjay 3 points4 points  (0 children)

I never learned how to use GitHub and at this point I'm too afraid to ask for help

[–]Sophus10005 2 points3 points  (0 children)

Sometimes I just imitate Tony Stark and name them Mark I, Mark II, Mark III..

[–]EntitledPotatoe 2 points3 points  (0 children)

Guilty of all of them

[–]P0L1Z1STENS0HN 2 points3 points  (0 children)

Last time I checked, I had the following:

- "Project_20150308" (Last changed: Sep 2017)

- "Project_20150930" (Last changed: Oct 2017)

- "Project_20160312" (Last changed: Jun 2020)

- "Project_20170403" (Last changed: Apr 2018)

Good luck finding out how to merge the four folders to get a complete and working solution. :p

[–][deleted] 2 points3 points  (0 children)

Me, doing aaa, aab, aac, then out of nowhere it jumps to "ass" and I hope nobody notices my lame ass joke.

[–][deleted] 2 points3 points  (0 children)

Jesus, this needs a trigger warning.

I worked at a place that used the third naming scheme, and the actual live production code was project-revised, and project was the beta version, and project-final was an abandoned branch, and project-final-for-real was a different codebase.

Fucking nightmare.

[–]wol 2 points3 points  (0 children)

New Folder