4 ms·
Really great point and also really illustrates the tree structure underneath the hood for git and how it rules everything. The joke that isn't a joke is that y
by virtue3 3y ago
Really great point and also really illustrates the tree structure underneath the hood for git and how it rules everything.
The joke that isn't a joke is that you really need a CS degree to use git. It's not wrong.
The git default arguments makes for a very inconsistent experience, agreed.
And then `git checkout .` vs `git reset --hard/soft` vs `git cleanup` are all super similar but very different.
Still love it more than perforce/svn (I did like mercurial a little better back in the day but I doubt that might still be the case).
-----
`git reflog` is king and shows you the truth.
- sleepybrett 3y agoYeah anyone I run into that 'doesn't get git' and only has like the four commands they ever run... I point them at https://git-scm.com/book/en/v2/Git-Internals-Git-Objects https://git-scm.com/book/en/v2/Git-Internals-Git-Objects Once you internalize that git unlocks.
- cloudwalk9 3y agoI use Stable Diffusion (A1111 webui) and sometimes run into config issues, sometimes untracked by git. Nothing more catastrophic than doing `git clean -dfx` by habit from tinkering with Debian packages and knowing that command actually resets everything that `git reset --hard` doesn't... And then accidentally wiping out all of your checkpoints and generated images :')
- efreak 3y agoHardlink your checkpoints elsewhere, this way you don't have to keep them around elsewhere. Alternatively, make your models directory a symlink. (I don't think you can symlink the models themselves, I think that'll break it)
- mewpmewp2 3y agoYou can still use git and have it be useful even if you don't fully inderstand it, so I disagree with the CS degree notion.
- metabagel 3y agoUntil you get “got”.