Oh Shit, Git!?!
Link📌 Summary: 在使用 Git 時,即使一個小錯誤也可能造成困擾,解決問題往往需要深入瞭解。本文整理了幾個常見的錯誤操作及其解決方法,包括如何利用 git reflog 回到先前狀態、修改最近的提交、變更提交訊息、從錯誤分支回到正確分支等。這些技巧若能熟練運用,能有效減少在版本控制過程中的挫折感。
A nice compendium of git commands for every occasion.
#git
https://github.com/k88hudson/git-flight-rules
Los comandos que necesito para trabajar con git desde la terminal https://myblog.clonbg.es/los-comandos-que-necesito-para-trabajar-con-git-desde-la-terminal/ #Terminal #Git https://clonbg.es
`alias g=git` might save me millions of key presses over my lifetime. (20 years, ~50 git commands per day). I've got others, too:
g s = git status
g a = git add
g c = git commit
g b = git branch
Millions, I say!!! #git
Just got my mind blown, as you might have read I started to use conventional git commits, trying to bundle my commits in a good fashion way with valuable commit messages.
As I created a merge request today I just noticed how much easier reviewing will be as you can click on commits made on this review and only see changes related to example a refactor or an feature.
#Git #GitUsage #LearningGit #VersionControlSystem #Developer #Coding
dev: Getting rid of Git LFS
This thing is a bit of a pain, it is very expensive on Github although they've lowered the price artificially, it is $5 for 50GB of Git LFS storage. As long as you keep your files less than 100MB you shouldn't have a problem, but how do you get rid of it once you have it. That's actually very hard
Removing Git LFS
There is a very specific sequence you need to run. Thanks to Ryan I think
https://tongfamily.com/2025/01/17/dev-getting-rid-of-git-lfs/
#git
Git Sync・Pull Request自動コメント機能についての感想
https://qiita.com/am_i-12/items/fc2b968a11ca38cbc571?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
GitでLaTeXの文書のバージョン管理する+latexdiff-vcで差分を出す
https://qiita.com/ishigaki/items/6eaecf5b9c62beb8ed00?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
🔍 Desmistificando o Debate Git vs. GitHub: Entendendo as Principais Diferenças 🖥️🔗
Git e GitHub são frequentemente confundidos, mas possuem funções distintas no mundo do desenvolvimento. Descubra as diferenças essenciais entre eles e como cada um pode beneficiar seus projetos!
👉 Saiba mais no blog: https://nova.escolalinux.com.br/blog/desmistificando-o-debate-git-vs-github-entendendo-as-principais-diferenas?utm_source=dlvr.it&utm_medium=mastodon
#Git #GitHub #Desenvolvimento #Tecnologia #CódigoAberto
🤓 🔐 Every time I get a new e-mail address I'll use for committing into a #Git repo, which is not very often, I just type "florimond.dev" in Firefox to get quick access to this awesome straight-to-the-point post about #gpg commit signing: https://florimond.dev/en/posts/2022/07/github-signed-commits.
Thanks @florimond for that, it will remain a reference for years!
@paulsanders yeah suddenly that #proxmox cluster with #ceph and #zfs running #selfhosted #kubernetes for running stuff such as #nextcloud #matrix #dex of course all managed with #devops principles #git ified in #forgejo with #argocd and all managed by #saltstack seems completly justified.