2021-10-28
Steven Whitaker
Git commands
git init, git status, git add, git rm, git diff, git clone, git commit
git branch
Merge requests are not part of git, but rather gitlab and github
Merge into master, and try not to commit directly into master.
Try not to branch too many times. Branching into multiple branches is confusing.
git remote server
git init --bare
cd hooks, echo "git --work-tree=/path/to/files --git-dir=/path/to/repo.git \ checkout" > post-receive
chmod +x post-receive
git init, git add, etc.
git remote add
git push
Customizing git profile
git config --list
git config --global
File is also in ~/.gitconfig
Steven is writing this in post, so I actually have no idea what else we did. We probably joked about arch and complained about people like usual. Shell is super damn slow and I don't know why. Might be a connection issue.