@agowa338 it might be because I am not a programmer — since childhood I only ever dealt with hobby-tier stuff (Z80/8080/M680x0/PowerPC Assembler, Ada, C#, Rust) and as a linguistics major only had 2 years of mandatory C in the university
so git is inscrutable to me; I do not understand why is it git stash list but git branch --list, etc.
@agowa338 a project that I collaborate on has dozens of branches and it is easy to get lost sometimes haha
git stash list is used by me a lot for weird reasons: I have a git checkout of the FreeBSD ports tree that I want to keep as close to the original as possible, so all my temporary patches are stashed when I'm updating the tree
@mia But how often do you really need to know about all of them?
Like even for big projects it's at most 2-3 branches.
1 The main/master branch of the upstream project
2 Your patch-* branch
3 When someone sent you a diff/patch for your patch or you want to merge in some of their changes into yours.
And even for bigger projects like ansible where backporting is a thing that is basically because of the process not really different either just switch "main/master" with whatever version that pr is
@agowa338 it's a mobile game and they have separate branches for separate features/events/etc… and loc strings are spread all over those
it's terrible but that's what they have
@mia Not really. You could also just do a git clone and use your local folder as a remote too. Everything else is just advanced usages that has some benefits compared to the simpler ways. Like you'll need less disk space.
But all you need is still:
* git clone
* git push
* git pull --all
* git status
* git add
* git commit
* (maybe) git remote add myfork $url
* (maybe, but most of the time you're doing something wrong when you think you need it) git lfs
@mia @agowa338 Also, git is simple in the same way quantum mechanics is simple.
It is the simplest solution to a complex problem. The complex problem being: a distributed version control system that you can adapt to a lot of different situations.
I can use git without ever configuring a server, I can make a repo, I can clone it to a USB or CD. I can give it to a friend. In fact, I included the whole source repo of my thesis on a CD when I handed in my thesis.