A colleague came up with this, and it's pretty nifty! And even better, I asked if he'd mirror on Codeberg, and he did it!
Check it out!
"Hunk-by-hunk and line-by-line staging for git, designed for building clean commit history."
https://codeberg.org/halfline/git-stage-batch
Git 2.54 Released With New Experimental “git history” Command, by (not on Mastodon or Bluesky):
https://www.phoronix.com/news/Git-2.54-Released
Highlights from Git 2.54
https://programming.dev/post/49169350
到底是誰設計出這種機車參數的?真應該放進 ffmpeg XD
#git

git history reword <commit>opens your editor with the specified commit’s message and rewrites it in place, updating any branches that descend from that commit. Unlike git rebase, it doesn’t touch your working tree or index
git history split <commit>lets you interactively split a commit into two by selecting which hunks should be carved out into a new parent commit.
https://github.blog/open-source/git/highlights-from-git-2-54/
Pretty handy, if you ask me.
The screen turns red, the terminal throws an error, and your heart drops... It's the dreaded merge conflict 😱
But do you actually know what Git is doing behind the scenes while you panic?
What happens when Git encounters a merge conflict?
----
Think you nailed it? 👀 Verify your answer and level up your Git game with instant feedback right here 👉 https://www.git-skills.dev/quiz/git-conflicts-concepts/#q-what-happens-when-git-encounters-a-merge-conflict
#Git #SmartGit #Coding #Programming #SoftwareEngineering #DeveloperLife #TechHumor #CodeNewbie #100DaysOfCode #TechQuiz
Just discovered in the doc that it is easy to set a specific ssh key in a local repository to fetch/push toward a remote one.
git config set core.sshCommand "ssh -i ~/.ssh/mykey"
#git @Codeberg #codeberg #forgejo
Vercel's Git Gateway exposes API keys in plaintext and risks bugs with Cel parsing server-side. Kubernetes admission webhooks evaluate expressions without local test harnesses, leading to ineffective security measures. #Vercel #DevSecOps #Git #K8s #AdmissionControllers #RustLang
git history: the best thing in Git 2.54
https://programming.dev/post/49162914
Git 2.54 experiments with changing commit history
In the new release, the version control system introduces the experimental git history command, for example, to correct errors or split a commit.
#Git #IT #Softwareentwicklung #Versionskontrolle #news
Git 2.54 experimentiert mit dem Verändern der Commit-Historie
Im neuen Release bringt die Versionsverwaltung den experimentellen Befehl git history, um beispielsweise Fehler zu korrigieren oder einen Commit aufzuteilen.
#Git #IT #Softwareentwicklung #Versionskontrolle #news
https://github.com/git/git/commit/a454cdca42fda0afaade73d7e90010289d1e7ba8
I am now officially also in the history of the #git git repository.
🎉