git

Back Open Paginator
29.03.2026 21:44
h4ckernews (@h4ckernews@mastodon.social)

More on Version Control

bramcohen.com/p/more-on-versio




Show Original Post


29.03.2026 17:48
HaraldKi (@HaraldKi@nrw.social)

Nice git experience.

With A and B being logical streams of development I made a mess:

main -> A1 -> B1 -> A2 -> B2 -> B3
\-> A3
\-> B4 ... B10

I mixed A, B before noticing the need for 2 branches. I did:

- Switch to A3, rebase interactively to B1'...B3' A1'...A3'
- Switch to B3, rebase interactively and delete all the Ai in front
- Rebase B10 onto B3'.

I de-mixed two streams of development into their respective branches.😀

Watch it happen with gitk --reflog.

#git #GitRebase




Show Original Post


29.03.2026 12:19
abcdw (@abcdw@fosstodon.org)

I wanted to try darcs and pijul vcs for quite sometime, but never had enough motivation, because it completely new ecosystems with different tooling.

Recently I learned about Jujutsu, which reuses fundamental ideas of darcs, but uses git as a storage backend, so I can use it with existing projects and tools.

jj-vcs.dev/latest/

I found a demo, and it is pretty neat and makes so much sense:

v5.chriskrycho.com/essays/jj-i

youtu.be/cD9L3Mi1Vy4
youtu.be/2otjrTzRfVk

#jj #git #vcs




Show Original Post


29.03.2026 09:00
meysam81 (@meysam81@mastodon.social)

merging this... what could go wrong!





Show Original Post


28.03.2026 23:36
adingbatponder (@adingbatponder@fosstodon.org)

@stadtkind @edwtjo Well I really got into a spin. When doing the above where you
1. pull a new flake down into a directory with a new name /flake-new

2. rename the old /flake directory /flake-old

3. rename /flake-new as /flake

4. try nixos-rebuild switch --flake .#<machine_name>

caused the rebuild command to bug. It just kept giving me the old generation... full report here codeberg.org/adingbatponder/re #nixos #rebuild #flake #git #generations (warning, AI Claude Code was used)




Show Original Post


28.03.2026 16:24
GripNews (@GripNews@mastodon.social)

🌗 利用 Delta、fzf 與 Shell 腳本打造極致的 Git Diff 體驗
➤ 透過現代化 CLI 工具提升你的 Git 工作流效率
nickjanetakis.com/blog/awesome
在程式開發過程中,高效地比對代碼差異是提升產能的關鍵。作者 Nick Janetakis 分享了他如何將 Git 與 Delta 和 fzf 深度整合。透過 Delta,開發者能獲得更直觀、具備雙色調的文字差異顯示;結合 fzf,他還撰寫了一個名為 `gd` 的自訂腳本,讓開發者能以互動式選單快速在不同檔案間切換,大幅簡化 PR 審查與版本比對的流程。這套配置不僅能無縫嵌入原有的 Git 指令,還能透過簡單設定,讓 `git diff`、`git show` 與 `git blame` 等指令瞬間升級。
+ 這篇文章真是及時雨!我一直覺得預設的 Git Diff 介面太難閱讀,Delta 的雙色調顯
工具




Show Original Post


28.03.2026 16:00
SymfonyStation (@SymfonyStation@drupal.community)

David Duymelinck says: don't just git worktree. dev.to/xwero/dont-just-git-wor #git




Show Original Post


28.03.2026 13:50
hacker_news_bot (@hacker_news_bot@mastodon.social)

📜 Latest Top Story on : I put all 8,642 Spanish laws in Git – every reform is a commit
🔍 Original Story: github.com/EnriqueLop/legalize
👤 Author: enriquelop
⭐ Score: 87
💬 Number of Comments: 14
🕒 Posted At: 2026-03-28 12:01:27 UTC
🔗 URL: news.ycombinator.com/item?id=4




Show Original Post


28.03.2026 10:33
adingbatponder (@adingbatponder@fosstodon.org)

Any tips and tricks for using #git for #nix #nixos #flakes : when the "mother flake" flake lives on a public repo & is set up to provide multiple #configurations for different machines built using:
nixos-rebuild switch --flake .#<machine_name>
I dug myself into a hole by copying the files from the mother flake repo to set up a new machine and the flake on my new machine has diverged & cannot be merged back into the mother flake repo because I did not *clone* it down so has no common git history




Show Original Post


28.03.2026 10:04
frankel (@frankel@mastodon.top)

Should I Switch From #Git to #Jujutsu

etodd.io/2025/10/02/should-i-s

#SCM




Show Original Post


28.03.2026 09:21
jpmens (@jpmens@mastodon.social)

Using git-send-email while being offline and with multiple email accounts [and msmtp]

ploum.net/2026-01-31-offline-g




Show Original Post


28.03.2026 01:15
develwithoutacause (@develwithoutacause@techhub.social)

Days since I pushed out of date changes to a #Git branch: 0

Seriously, how is `--force-with-lease` not the default (or even configurable)?




Show Original Post


1 ...39 40 41 42 43 44 45 46 47 48 49 ...347
UP