`git add -A` 的作用是:
1. 把 **所有已追踪文件的修改和删除** 加入到 staging。
2. 把 **未追踪的新文件** 也一并加入到 staging。
3. 把 **已删除的文件** 的删除操作也会加入。
简而言之:它是“所有工作区变化(新增、修改、删除)都放进暂存区”,不仅限于已经版本控制的文件。
如果你只想把已经跟踪的文件的修改加入,而忽略新文件和删除,应该用 `git add -u`。
I have a love/hate relationship with git graphical clients. I’m comfortable with the CLI but prefer a GUI.
On Windows the Fork client is king IMO. I’ve not found something similar on Linux. I’ve tried a bunch of them and always find something that really irritates me.
Currently I’m using SourceGit, which is probably the closest I’m going to get to a Fork alternative on Linux. It’s a decent client overall, though I do miss having a built-in merge editor.
https://github.com/sourcegit-scm/sourcegit
Also, does anyone have any opinions on Codeberg? I've heard bad things about GitLab but heard a recommendation for Codeberg in the same breath.
#dev #opensource #git
#Git 2.51.0 has been released (#SCM / #SourceControlManagement / #SourceCodeManagement / #VCS / #VersionControl / #VersionControlSystem / #DVCS / #DistributedVersionControlSystem / #DistributedVersionControl) https://git-scm.com/
Hooray for ghorg if you need to clone multiple #git repos en mass!
I should be able to `#git cloen` if I want to
Git RFC: Introduce Jujutsu inspired git-history(1) command for easy history editing (abandon, absorb and split commit) - A serie of patches by Patrick Steinhardt #Programming #Git https://lore.kernel.org/git/20250819-b4-pks-history-builtin-v1-0-9b77c32688fe@pks.im/
codeberg seems too complex for me, i'll just stick with sourcehut.
radicle is beautiful, but the fact that identities are tied to OS and i need to create a new one every time i distro-hop is depressing.
New free online training announced: "Collaborative git without GitHub" by @petrichor 🧑💻
> Although git was created as a decentralised way to collaborate, the practical needs of day-to-day work have pushed most of us to use it through a centralised platform (generically called a “forge”), of which the most common is Microsoft’s GitHub.
📅 3 September 2025, 16:00 - 17:30 CET
More info and sign up:
https://events.digital-research.academy/event/110/
I just discovered `git rebase --onto`
This is life-changing. 😍
GitLab 18.3 starts transformation towards comprehensive AI integration
GitLab's strategy is to integrate AI more closely into the development platform. The Duo Agent Platform in Visual Studio is now available as a beta.
#ContinuousIntegration #Entwicklungsumgebung #Git #IT #KünstlicheIntelligenz #MicrosoftVisualStudio #Versionskontrolle #news
I can almost wrap my head around #Git. Almost.