#Git

Eine Sache an #git - und SVN und CVS - , die mich stört, seit ich SCMs nutze, ist der Befehl „blame“.
Er trifft zwar häufig den Nagel auf den Kopf, denn wenn ich Änderungen recherchiere, die zu einem Bug geführt haben, dann steht häufig die Frage im Raum „wer machte den commit?“, aber eher im Sinne „Wen frage ich, um mehr Kontext zu bekommen?“

2025-05-03

#TodayIlearned one thing from the category of "this should have been obvious" and "how to fuck did it take me this long to realize it":

When you do `git clone git@github.com:userOrOrg/project.git` the URL you provide for cloning via SSH is just a relative folder path.
Basically you're `ssh git@github.com` and downloading the entire folder `userOrOrg/project.git`
🤦

#git

2025-05-03

i saw how people are using git rebase, and then are editing `pick` to `edit` to change spec commit, but i think it should be automated...

#gitcommit #git #gitrecommit

2025-05-03

i need to write my own "git-recommit" to make it easier to rewrite #git history \o/

A_Nun_Ymous ☳Schwester_Philomena
2025-05-03
Alec :tux: 🇦🇺 👨‍💻alecthegeek@mstdn.social
2025-05-03

Dear #LazyWeb,

Should I change my #git client to #jj (#Jujutsu)?

रञ्जित (Ranjit Mathew)rmathew
2025-05-03

“jj init: What If We Actually Could Replace Git? Jujutsu Might Give Us A Real Shot.” [2024], Chris Krycho (v5.chriskrycho.com/essays/jj-i).

On HN: news.ycombinator.com/item?id=3

On Lobsters: lobste.rs/s/pvvbhm/jj_init

रञ्जित (Ranjit Mathew)rmathew
2025-05-03
रञ्जित (Ranjit Mathew)rmathew
2025-05-03

Nemo says the size of a .git folder is 5.8 MiB. The repository is up-to-date with the remote.

I delete the entire repository from my system, and clone the remote again (with full history). Now Nemo says the .git folder is only 1.7 MiB.

Is this supposed to happen?

EDIT: As the commenters said, it was indeed because I hadn't run
git gc. Thank you!

#git

GripNewsGripNews
2025-05-03

🌕 零寬度正向預查 | 從 jj body 學習:零寬度正向預查
➤ 一個更安全、更靈活的版本控制系統
zerowidth.com/2025/what-ive-le
作者分享了使用 Jujutsu (jj) 版本控制系統的經驗,並指出它相較於 Git 提供了更安全、更靈活的工作流程。Jujutsu 將所有變更視為獨特的「變更」,而非僅限於快照。它簡化了分支切換、撤銷修改以及修改歷史的流程,並鼓勵使用者更仔細地思考程式碼變更的歸屬,減少了「補救」提交的需求。作者強調 Jujutsu 在保持 Git 核心功能基礎上,透過更簡潔的操作和更明確的意圖,提升了開發體驗。
+ 聽起來這個 Jujutsu 真的很有潛力,解決了 Git 一些長期以來的痛點,像是 staging area 和 rebase 的複雜性。
+ 我一直覺得 Git 的操作有點繁瑣,這個 Jujutsu 簡化了很多流程,讓版本控制更直觀。

Marc Bouvier Lui/Il FR/ENmarc_bouvier@pouet.chapril.org
2025-05-02

6/6 #Veilledredi #Informatique #Web

- JJ aka Jujitsu - un #VCS branchless par Google s’appuyant sur #Git comme base de donnée. Avec une DX intéressante : jj-vcs.github.io/

#jj_vcs

TIL that
1)
sed modifies binary files as if they were text.
2) Some webp images contain strings that could be mistaken for pieces of MediaWiki syntax.

On a totally unrelated note, a bunch of images in Pandora's Tale Wiki were corrupted. They should be fixed now.

#Sed #PandorasTaleWiki #Git #MediaWiki

2025-05-02

TIL git itself can natively work over email.
Like, I knew the linux kernel folks had a mailing list and stuff but I thought it was solely for coordination, not for sharing code lol.

https://git-send-email.io/

#todayilearned #git #email

Taffer 🇨🇦 :godot:Taffer@mastodon.gamedev.place
2025-05-02

Hey `git`, how the hell does the tip of my branch get "behind" the remote when I'm the only one pushing to it?

This is why you don't have any friends.

#git #ohshitgit

Converting a Git repo from tabs to spaces

programming.dev/post/29621754

2025-05-02

@Codeberg Do you guys offer some kind of rsync (or just ftp) storage?

I ask because (in game dev) there are a lot of huge binary files and git uses so much more space than is needed.

I could have a repo with a 'media' dir which is ignored by git. The big files in there can be stored remotely sans git.

This way there's only one version of each big file, rather than potentially dozens, which is just eating up your storage!

🦇
#Codeberg #git

Hacker Newsh4ckernews
2025-05-02
JSDev Spacejsdevspace
2025-05-02

15 Git Commands That Cover 90% of a Developer’s Daily Workflow jsdev.space/15-git-commands/

15 Git Commands That Cover 90% of a Developer’s Daily Workflow

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst