They exist. Let's talk about them, learn them, and maybe even use them.
Interesting. So,
1 developer - svn or just folders,
4-8 developers - fossil or svn
100-200 developers - git or hg
SSL certificate problem: certificate has expired
https://stackoverflow.com/questions/69387175/git-for-windows-ssl-certificate-problem-certificate-has-expired
Something something Let's Encrypt changed something one month ago.
svn's branching kinda sucks compared to git
only used git and svn, haven't bothered with others
the thing I'm more interested about is trying out commit git patches via email as oppose to github, gitlab, etc... merge-request stuff. it was the intended way to use git anyway according to Linus and still how it was used in Linux git repos (no surprise). sourcehut does it that way also
I wanted to find how to create patch files on windows, and apparently git is the best way there is. Before that I tried to use http://unxutils.cvs.sourceforge.net/ , but it seems to have some S_ISREG related bug, and I'm too dumb to recompile it myself. Build systems are the worst part of C. I now wonder if it would've worked if I simply renamed patch.exe into ptch.exe, there is some fuckery on windows related to this.
I installed https://tortoisegit.org, and apparently that didn't install git itself for me, and redirected me to https://gitforwindows.org . Probably should've gone for the latter link first.
============Look how unxutils patch looks============
diff -ruN --exclude=bin --exclude=obj --exclude=.vs EmuEra-original\Emuera\Emuera.csproj EmuEra-rikaichan\Emuera\Emuera.csproj
--- EmuEra-original\Emuera\Emuera.csproj Mon May 24 19:22:27 2021
+++ EmuEra-rikaichan\Emuera\Emuera.csproj Sun Jul 18 16:27:26 2021
@@ -9,7 +9,7 @@
============And look at how git patch looks============
From 91be5519ebb92cda3ebe866ac9fac6ea8c29fce2 Mon Sep 17 00:00:00 2001
From: doesitmatter <doesitmatter>
Date: Fri, 12 Nov 2021 11:04:11 +0400
Subject: [PATCH] Rikaichan
---
Emuera/GameView/AConsoleDisplayPart.cs | 4 +
Emuera/GameView/ConsoleStyledString.cs | 13 +
Emuera/GameView/EmueraConsole.cs | 75 +
Emuera/GameView/PrintStringBuffer.cs | 5 +
Emuera/GameView/Rikaichan.cs | 1552 ++++++++
Emuera/GameView/RikaichanAutogenerated.cs | 3991 +++++++++++++++++++++
6 files changed, 5640 insertions(+)
create mode 100644 Emuera/GameView/Rikaichan.cs
create mode 100644 Emuera/GameView/RikaichanAutogenerated.cs
diff --git a/Emuera/GameView/AConsoleDisplayPart.cs b/Emuera/GameView/AConsoleDisplayPart.cs
index 6c9084b..6475930 100644
--- a/Emuera/GameView/AConsoleDisplayPart.cs
+++ b/Emuera/GameView/AConsoleDisplayPart.cs
@@ -32,6 +32,10 @@ namespace MinorShift.Emuera.GameView
============Yeah, I shouldn't create patches by anything that isn't git. Patch files don't have a universal standard it seems. I'm still a bit annoyed that I have to tell people to install this pretty big program if they want to modify source code, when all I need out of it is patch and diff.============
https://www.atlassian.com/git/tutorials/merging-vs-rebasing
The golden rule of git rebase is to never use it on public branches.
Apparently, with git, if you set passphrase when you create your public private ssh key pair, git will ask you for your passphrase every single time you will ever use git. So, don't set your passphrase if you own your computer and aren't paranoid of somebody sharing computer with you. Just set it to empty, it's fine.
git set identity per repository
https://stackoverflow.com/questions/4220416/can-i-specify-multiple-users-for-myself-in-gitconfig
You can configure an individual repo to use a specific user / email address which overrides the global configuration. From the root of the repo, run
git config user.name "Your Name Here"
git config user.email your@email.com
whereas the default user / email is configured in your ~/.gitconfig
git config --global user.name "Your Name Here"
git config --global user.email your@email.com
A little gotcha about .git/config file. If it looks like this, it will work:
Host gitlab.com ssh.gitlab.com
HostName gitlab.com
IdentityFile ~/.ssh/gitlab_com_ed25519
But if you don't have that ssh.gitlab.com and you try to clone something from ssh.gitgud.io, it will not work. That subdomain actually matters.