Gitea - Git with a cup of tea
View this document in Chinese
merge features; rebase off of master
generally, rebase/squash before you merge, unless dev⇨rel
git config --global rebase.autosquash true
git commit --fixup
git rebase --interactive --autosquash
Binary search for faulty commits
manages a verbose commit history for you
blame is hori; log is vert
Unrelated Histories/Orphan
Win/Mac⇨Dev; Dev⇨QA⇨Rel; Snap/Sys/Dock⇨Dev
git switch --orphan && git merge --squash --allow-unrelated-histories
push/pull from a fileshare
git checkout master && git checkout --
git init && git remote add gitignore [email protected] :github/gitignore.git && git checkout -b gitignore && git pull gitignore main && git switch --orphan master && git restore --source gitignore VisualStudio.gitignore && git add . && git commit -m "Initial Commit" && git mv VisualStudio.gitignore .gitignore && git commit -m "rename VisualStudio.gitignore⇨.gitignore" && git remote add origin [email protected] :/.git && git push -u origin master
how to create a private fork of a github repo
how to create a mirror proper
would be a great way to mention gitea
How to keep track of this?
Stuff to work in implicitly
What's in the .git folder?
Why doesn't my former employer use git?