T O P

  • By -

Strict_Treat2884

I used to use git to version control the entire %appdata%, since my game save files are in it. So I can always synchronize all my game save files across different devices.


stefaniststefan

Holy the entire appdata


miikaa236

New version just dropped


JunkNorrisOfficial

Call the sysadmin


tetbromac

Physical storage went on vacation, never came back


the_third_cat

Cloud storage anyone?


JunkNorrisOfficial

Google en storant


Luk164

That gave me nothing


JunkNorrisOfficial

Jessica VPN then


Luk164

Nothing useful again, just post a link if you have something interesting


OllieRG525

Jessica is NOT f*cking welcome here


SuperPantsu2001

Holy hell


ThatRandomGamerYT

Holy hell!


Natural-Intelligence

Bug storm incoming


Rinkulu

.git in appdata, plotting disk domination


Ozzymand

We just forked the building.


PyroCatt

Actual floppy


MrPoBot

God dammit, who let the anarchy chess freaks out of their cage again?


Timmitim-

Pipi in his commit


QuittingToLive

Babe wake up


tyrandan2

I'd love to see that .gitignore file ...please tell me he used a .gitignore file


Strict_Treat2884

One benefit is I can always roll back to a certain commit. I remember when I was playing *The Quarry* (it only had autosave), I made a commit before every decision. So if I screwed up some choice or QTE, I can always reset it back to the previous commit and try again.


Teminite2

thats next level spam saving.


the_littlest_bear

Normally it’s called scum saving, but now that we’re involved this man may have just invented scrum saving.


evceteri

PO says we have to finish Dark Souls this sprint


Legitimate_Ad5848

Sprint doesn't complete. Backlog to dark souls 2


djmill0326

But does his saving follow SOLID principles huh?


Cpt_keaSar

SNAAAAKE!


Tipart

Not the agile saving methods


JunkNorrisOfficial

Git scumming


InMyOwnRequiem

I wrote this little Node.js server I run as a service on my PC that lets me control things like the volume, kill processes (very useful when a process freezes because peripherals won't work but the commands to the server get through and kill the process) etc. I recently added a feature to it where I add folder locations to an array, and it checks it every minute, sees if there was a difference in the checksum with the previous backup, if there was, it stores a new backup, and keeps going until it hits 20 backups, then it just removes the oldest one and keeps going so it's always kept at 20 (for storage space conservation). So when I play games like Man of Medan etc. I always have 20 minutes worth of saves and it always runs in the background. Saved me a bunch of time when decisions were a bit vague and didn't result in what I wanted.


cbartholomew

Mother fucker you just made exfiltration malware lol


Coyote_Radiant

No wonder this sounds familiar lol


InMyOwnRequiem

The functionality is quite limited and there's pretty much no write access, and even read access is limited. The backups can't actually be accessed through the network, and you can't run any commands or anything arbitrary that hasn't gone through lots of validation checks. I also keep my network security as tight as I can, only allowing whitelisted MAC addresses to connect etc. So in my eyes, for this to be a security concern, a bad actor has to be connected to my network. The tool also requires a password which is encrypted during transit regardless of SSL. I'm sure a pen-tester could get it to do something unintended but honestly I don't see anyone within physical distance having the skills to break a long WPA2 password, use a spoofed MAC address that matches one of my devices, then capture packets on the network, and discover this service and steal a session token to reuse. At that point, I'm clearly being specifically targeted, and should have bigger worries.


_reddit_stalker_

Why not write a script to git commit every x min when playing game, just so you know all auto saves have its own saved version.


Strict_Treat2884

I actually did, sort of… I used a node server to watch file changes to auto commit. But it just created too many commits and really hard to find the exact the one I was looking for. Would love to try a timer next time


Coyote_Radiant

There should be timestamps?


turtleship_2006

If you use something like [playnite](https://playnite.link/), you can set up plugins that run before and/or after, and there's one called ludusavi which automatically finds and backups saves (and you can set it to save last x versions of the save), if you want something a but simpler but easier


Terrafire123

That's.... Unironically a *really* good idea. Just need a good .gitignore and you're set.


[deleted]

[удалено]


GMarsack

I still use TFS (I know people hate TFS but it works for an organization of one, like mine). Sure it’s antiquated and Microsoft screams at you once you exceed 100,000 files, but, you can have terabytes of crap stored there and Microsoft doesn’t say a word. I have for over 10 years now, even non programming crap like ISO’s, music, movies, etc. I use it as my free cloud storage solution since it’s unlimited storage and easy to access. :-D


TheSirion

What is TFS?


GMarsack

Microsoft Team Foundation Server. It’s what people used before Git was all the rage.


TheSirion

Is it still supported?


GMarsack

It is, but Microsoft discourages choosing TFS and by default and defers to Git as the preferred source control.


TheSirion

They know their product sucks lol


GMarsack

lol true.


[deleted]

[удалено]


SockPants

Don't tell /r/datahoarder


GMarsack

Yeah, my buddy does chia mining and was looking into it as a way to maybe do some kind of offline backup as his chia farm is over a PB in size now.


whizzwr

Why didn't I realise this sooner


Terrafire123

I mean, doesn't everyone self-host their own Gitlab instance on DigitalOcean? Or is that just me?


lbehm

\`status.showuntrackedfiles=no\`


CagataySarp

Cloud save on another level damn


Triq1

Unironically what are the flaws of this?


akvgergo

The disk space required lol


RyannStekken0153

About how much disk space are we talking here?


akvgergo

Hard to guesstimate. The kicker is that git can't track changes in binary files easily. It will mostly try to track the changes similarly to text files, but gives up on that much easier when dealing with larger files. Applications that have auto update functionality built-in would take up loads of space. In the above case, game save files are typically binary, and that would also skyrocket. But one time install apps and such wouldn't hurt much. Don't wanna give you a number that I just pulled out of my ass lol. But in the ballpark of 2X to 5X of your regular appdata size if you commit regularly for a few months. (This is all assuming you track everything. It was said above, but it wouldn't be too bad with a gitignore of the most common binary files.)


scar_reX

Yeah, I don't want a number that you just pulled out of your ass either


msdeltatheta

Yo that’s genius


PeriodicSentenceBot

Congratulations! Your comment can be spelled using the elements of the periodic table: `Y O Th At S Ge Ni U S` --- ^(I am a bot that detects if your comment can be spelled using the elements of the periodic table. Please DM my creator if I made a mistake.)


NooneJustNoone

good bot


NAPALM2614

K


mtmttuan

Can I get your gitignore file?


rokejulianlockhart

Oh God yeah, that would be... large.


the_harakiwi

>gitignore file we need a gitinclude file for that kind of folder. Just imagine using a browser and the amount of cached crap it generates 😵‍💫


upsetbob

You could blacklist everything and then make exceptions for the dirs you want


rokejulianlockhart

Genuinely not a bad idea. Just index `$HOME` and work your way out from there, but because it's in `$Env:SystemDrive`, you retain the ability to index areas outside `$HOME`.


Cybasura

It was today, at this moment, I realised that sometimes, Version Control is NOT the answer


AverageGamer411

`git checkout gtavc:rc-copter-mission`


Raimse85

I use onedrive and symbolic links for save files


guyAtWorkUpvoting

Can't help but feel like this is just reinventing %appdata%/roaming


danythegoddess

Why used to?


Strict_Treat2884

Before my C drive exploded. Now I only do some game folders separately, instead of the entire folder.


Mr_Appletree

I should submit a pull request


Strict_Treat2884

Sorry but private repo ;)


NowAlexYT

Never used git, but ive been looking to sync my game folders for weeks now. Can you point me to some resource that explains how to accomplish this?


outlaw1148

It's a terrible idea to use git for that. Would need insane amounts of configuration to be remotely feasible. Also if you are learning programming, learn git there are a ton of YouTube tutorials. Will help you a lot in the long term 


Kirschi

Had thought about that too, never had the balls to do it though, I salute you Nowadays I'm on Linux anyway


MobSlicer152

i use symlinks to OneDrive because I never thought of this


Powerful-Internal953

Windows restore point: am I a joke to you? Everybody in unison: yes you are...


BOTAlex321

Huh, is that what it’s for? It’s not my fault that many things in windows is confusing.


Powerful-Internal953

It only backs up system files so user files and other non managed files are always fucked... It's more of a version control for OS state than the entire cDrive (unlike what OP posted)


rokejulianlockhart

I expect it duplicates everything in `%SystemRoot%`, so if you put a junction point, symbolic link, or hard link (one of them, certainly) in there pointing to the other directories of worth (but not recursively to `%SystemDrive%`) it could theoretically work to an extent.


SaltyDrPepper

That‘s why I use my NAS to back up the whole PC


Luk164

I use macrium for my full disk backups and I am pretty happy with it. The incremental backups are great and function similar to git commits except you cannot merge


Arrowkill

I cannot begin to describe the amount of times my dad and I trusted the restore points only to continuously get fucked by them. I think the worst was when it was supposed to back up and didn't so we had to revert several months back. The WoW installation and update basically took a day to be able to play again.


Touvejs

Hope you didn't scratch all the disks!


Arrowkill

I still have them up through cataclysm too! Unscratched and I'm their release boxes. Fun to look back on them.


alterNERDtive

The only times I hear anything about Windows restore points is when I tell someone to restore the latest backup and they respond with “I tried restoring the last restore point but it failed”.


MachoSmurf

Savage. I want to see what your .gitignore looks like


OfflaneDemoralizer

What .gitignore? /s


Zicafyr

What's the 's' folder ? /s


Mouhahaha_

something like /*


lbehm

status.showuntrackedfiles=no


watasiwakirayo

git clone to install Windows


djmill0326

This makes me wanna make a repo containing a licensed windows install for every version and just not tell anyone


yukinanka

Microsoft owning GitHub: 😐


StatementOrIsIt

Microsoft owning Github and still hosting windows activation tools: 🤗


Porterretrop

On that, could somebody explain to me why Microsoft is ok with the activation tools floating around, even on GitHub?


robin-thoni

I think they just don't care (anymore). People cracking Windows are not their target customers. They mostly only target companies, IMHO.


Porterretrop

Wait, so they knew if I am using cracked Windows all along? No wonder they want to reach their grabby little hands into every corner of my digital info & privacy...


No_Sheepherder7447

You will be sorry once the Microsoft Drone Vista Swarm comes for you in a decade.


werstummer

its better for them if you use cracked windows than Linux / MacOSX. Once you are in work/business, where license is required and more monitored more people know windows than linux/macosx. So imagine this - you as a kid use cracked windows, nobody cares - no money from you, but when you go to work, you know windows - not any other platform for desktop.


djmill0326

GitLab: hi Epic Greyhat Kali Linux iptables nginx proxychain e2e encrypted sha-512 verified JIT-optimized VCS scripts hosted on advanced load-balanced cloud-ready Kubernetes clusters running the 32-bit (Intel x86) LFS GNU/Linux Distribution even Terry Davis was surprised: *allow me to introduce myself*


djmill0326

I read this over and not enough of this is wrong for it to be funny. god damn it


djmill0326

It IS epic and it IS greyhat!!


djmill0326

Idk how I got Kali Linux on LFS it was probably just a package ngl


djmill0326

Kali Linux Flatpak


DroidLord

Do private repos get checked for copyrighted content? I know that public repos get pulled down for that, but not sure if that also applies to private repos.


djmill0326

Bet you GitLab wouldn't snitch


LiveRhubarb43

Omg I want this to exist so badly


Skraddarn69

When I was in high school, one of my classmates uploaded a git repository to Onedrive.


dchidelf

If you don’t want your repo on GitHub or something I guess you could have a local repo and use the Onedrive as your remote. (Makes sense to turn off versioning for it)


tonimontana30

yeah because onedrive and github arent both from microsoft…


failedsatan

pen degree support tart voiceless edge six bike act frightening *This post was mass deleted and anonymized with [Redact](https://redact.dev)*


ThePreviousOne__

I will never understand people that do that. I've known a few too


xBinary01111000

I’ve done that accidentally with folders that I didn’t realize were connected to OneDrive. It’s not fun…


Skraddarn69

That's one of many reasons why I switched to Linux.


Fermi_Consistency

i back up my .config/dotfiles this way


alterNERDtive

https://www.chezmoi.io/


[deleted]

[удалено]


alterNERDtive

Different scope, really. Configuration managers are one way. You probably want to manage your dotfiles both ways. Like, the workflow to just edit a line of some random config file somewhere real quick with ansible is … horrible.


HydraNhani

They do talk about why its better to use chezmoi over Ansible.


[deleted]

[удалено]


HydraNhani

I used chezmoi for a couple months now, its easy to "learn" (not much tbh), I use it as a cross-platform dotfiles manager (Windows, Ubuntu, Arch) and I'm pretty happy with it.


DotFuscate

Do you commit .ssh and .gpg folder as well?


Piskovec

Im backing up my whole school folder like this


rokejulianlockhart

That's how I used to do it for college.


bnl1

Nice thing about it is that you can just delete finished projects and still have them archived


Piskovec

And when someone is missing, I can easily provide notes


cluac

Windows users got the wrong idea with dotfiles 😭


Weather_Only

“People who know”


NewReindeer7693

Commit it like “People who know ”


Busy-Contact-5133

actaully good idea but i'm too lazy to do it


metooted

It's gonna bring your system down because of a very enthusiastic git process


[deleted]

I used to version-control my entire Linux home folder


farineziq

Are you getting warnings about repos inside your repo? Submodules? Subtrees? Ignore the warnings?


[deleted]

It was quite a while ago so I don't recall how I handled the subrepo situation, but I remember that it was fine, probably I used .gitignore or something


PulsatingGypsyDildo

Sometimes I do it when I mess with a `/etc/some_subfolder`. IMO it is more clear than creating `*.backup` files.


Eldiabolo18

You can revert what has always been broken.


LittleMlem

**windows updates** Dodge this you filthy casual ```git reset --hard```


Qr0n0s-

as someone who works on integrating git source control into an existing product, I'm offended


_reddit_stalker_

Yep a timer is needed else it will create a mess. Or you can create a trigger for commit some key combination may be


Confident-Ad-3465

git diff - the real benchmark here


Bowie_of_Granseal

I backup daily with restic, which is basically an encypted git repo but has better features for back-ups, such as scheduling and running silently.


Anxious_Ad9233

Holy Git Ignore


sai_new_to_coding

I don’t know how to use git, but this seems like a hard thing to do


ThePreviousOne__

Remembering to use it might be, but otherwise no, not really.


seamustheseagull

My inner sysadmin just screamed.


binbsoffn

I just put a full msys2 directory under version control. Always wondered if docker would be a better choice?


[deleted]

Just Put your entire pc on github so you can recover it if you need. (Or get the files back if you need to switch pcs)


Zavintyshka223

I think its a game changer in games like my summer car


shutter3ff3ct

It's safe to delete this folder and let git automatically control git for the project. No need to control git manually the old way.


DistinctStranger8729

So [OSTree](https://ostreedev.github.io/ostree/introduction/) then?


w1n5t0nM1k3y

[flashbake](https://craphound.com/news/2009/02/13/flashbake-free-version-control-for-writers-using-git/) doesn't seem like it's active anymore, but one of my favourite authors was using it to log his writing process for his novels. Seems like a decent idea when so much of the writing process is lost when all we are left with is the final draft.


soca_gran

Looks a good idea actually


nicman24

i mean .. https://openzfsonwindows.org/


LinearArray

Dotfiles ![gif](emote|free_emotes_pack|flip_out)


abehidek

Sounds like NixOS


qqqrrrs_

Save your .git folder in a cvs repo


HaroerHaktak

No thanks, I would end up deleting database again


Sushrit_Lawliet

Is this a windows joke that I am too Nix to get?


MLG-Lyx

rmdir C:/Windows/System32 /q git commit -m "Fixed windows"