News for hackers. Stuff that matters.
Re:Confusing Git Terminology by virtue3 on Thursday November 02, 2023 @03:10PM (#38118523)
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.

Re:Confusing Git Terminology by sleepybrett on Thursday November 02, 2023 @04:33PM (#38119733)
Yeah 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

Once you internalize that git unlocks.

Re:Confusing Git Terminology by cloudwalk9 on Thursday November 02, 2023 @06:14PM (#38121045)
I 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 :')

Re:Confusing Git Terminology by efreak on Monday November 06, 2023 @05:45PM (#38170218)
Hardlink 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)
Re:Confusing Git Terminology by mewpmewp2 on Thursday November 02, 2023 @08:10PM (#38122337)
You 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.
Re:Confusing Git Terminology by metabagel on Thursday November 02, 2023 @09:59PM (#38123424)
Until you get “got”.