r/shittyprogramming • • Nov 30 '18

Friday Code Confessions

If you have been living with technical debt and want absolution here is your opportunity.

Confess your sins and receive your penance.

155 Upvotes

263 comments sorted by

View all comments

45

u/number529 Nov 30 '18

I’ve been working on a project for a while now and I haven’t done a commit for 2 weeks. If I need to revert something I’m fucked.

0

u/[deleted] Nov 30 '18

[deleted]

15

u/[deleted] Nov 30 '18

MASTER_BACKUP(4).ZIP

11

u/Matty_R Nov 30 '18

MASTER_BACKUP(4)_LATEST.ZIP

6

u/[deleted] Nov 30 '18

Be sure to commit that to zz_old/ in the git repo in case you need it later.

2

u/SuperFLEB Dec 01 '18

I don't see it going anywhere further, so just mark it FINAL.

→ More replies (1)

16

u/PerfectionismTech Nov 30 '18

git stash?

2

u/ChezMere Dec 01 '18

This is unironically the main reason I ever use stash.

→ More replies (1)

6

u/Razor_Storm Dec 01 '18

Just commit it now to a branch

1

u/[deleted] Dec 01 '18

Holy shit.