Git

Git is a popular version control system.

Tricks

Writing a Git Commit Message

Article Reference

Rules

Repositories

GitHub
I use this; Microsoft is bad but the community is good
Sourcehut
Minimal free software repository. I would use this if the developer weren't an egotistical BDFL.
Gitea
Open source git repository; self host it

Organization Thoughts

github organization:

= repo for coding challenge practice problems

https://danieltakeshi.github.io/2017/07/15/how-i-organize-my-github-repositories/

Rewriting

It's a good idea to reformat commits to make them more readable.

git reset HEAD~${number of commits to go back}

Tricks

http://joeyh.name/blog/entry/how_to_publish_git_repos_that_cannot_be_republished_to_github/ :: cheeky way to abuse DMCA to avoid GitHub using your Git repos https://sourcehut.org/blog/2020-10-29-how-mailing-lists-prevent-censorship/ using the mailing list model over the built-in issue model, and how this naturally federated and local first procedure is superior to github's standard issue approach https://labs.consol.de/development/git/2017/02/22/gitignore.html using .gitignore the right way

Patch previous commits with rebases

https://stackoverflow.com/questions/9103396/how-do-i-edit-a-previous-git-commit If you need to change commit history:

This did change the commit time for my latest commit, which is something to watch out for.

How Git Works

Neat writeup on the Git patience diff algorithm "Distributed, offline-first bug tracker embedded in git, with bridges"

Prototype Git GUI for Filmmaking

"Pull github, bitbucket, and trac issues into taskwarrior"

Text-mode interface for git

bcongdon/git-trophy: ? Create a 3D Printed Model of Your Github Contributio

github

track changes to a patch over time git flow: git extensions for high level repository operations explore git cli with natural language search github is sinking

readmes

A curated list of awesome Github Profile READMEs 📝 https://github.com/pifafu/pifafu/blob/main/readME.md i love the font choice and the gif here!

alternatives

https://www.fossil-scm.org/home/doc/trunk/www/fossil-v-git.wiki https://blog.nil.im/?78 ?? repo: a tool built on git for managing monorepos https://pijul.org/ a distributed version control system http://bazaar.canonical.com/en/ look into tildegit