git

Back Open Paginator
10.11.2025 21:38
markstos (@markstos@urbanists.social)

A #git tip:

You've stashed a commit on a branch to fight a fire 🧑‍🚒 🧯 🔥 on a different branch and are ready to return to what will surely be calm and focused work. But was the name of the last branch you were on?

The rarely needed `git reflog` command can answer that, showing the branch name in the output.

"The reflog covers all recent actions, and in addition the HEAD reflog records branch switching."

#coding #programming




Show Original Post


10.11.2025 21:20
hn50 (@hn50@social.lansky.name)

The (Lazy) Git UI You Didn't Know You Need

Link: bwplotka.dev/2025/lazygit/
Discussion: news.ycombinator.com/item?id=4

#git




Show Original Post


10.11.2025 21:18
GripNews (@GripNews@mastodon.social)

🌗 你可能不知道但卻需要的(懶人版)Git UI
➤ 從意外發現到全面採用:lazygit 如何革新你的 Git 工作流程
bwplotka.dev/2025/lazygit/
作者意外發現了名為 lazygit 的終端機使用者介面 (TUI) Git 工具,並迅速將其整合到日常開發工作流程中。文章深入探討了 lazygit 如何透過高度一致性、絕佳的可發現性以及直觀的互動介面,大幅提升開發者的生產力。作者認為,lazygit 的成功經驗對於設計出色且使用者體驗無縫的開發工具具有啟發意義。
+ 這篇文章太棒了!我一直以來都只用 Git CLI,覺得沒什麼大不了的,直到看了這篇才發現 lazygit 這麼強大,立刻就去試了!
+ 作者對於 lazygit 的 UX 設計分析得很透徹,特別是『可發現性』這一點,我真的深有同感。以往記指令就夠頭痛了。




Show Original Post


10.11.2025 21:00
frontenddogma (@frontenddogma@mas.to)

You Already Have a Git Server, by (not on Mastodon or Bluesky):

maurycyz.com/misc/easy_git/

#git #servers #commandline




Show Original Post


10.11.2025 16:22
andros (@andros@activity.andros.dev)

Publico un nuevo curso en mi web: «Contribuciones con Git»

https://andros.dev/cursos/contribuciones-con-git/

El objetivo de este curso es enseñarte las bases para usar Git con el objetivo de colaborar con otros amigos/compañeros usando una plataforma como GitHub o similares. También lo puedes usar como una guía rápida para aprender a colaborar en proyectos Opensource.

#git #github #anuncio




Show Original Post


10.11.2025 16:01
r (@r@fed.brid.gy)

What 986 million code pushes say about the developer workflow in 2025 buff.ly/AVJ0PEo #github #devcommunity #developers #oss #git #octoverse

What 986 million code pushes s...




Show Original Post


10.11.2025 14:17
forge (@forge@gts.gitroot.dev)

How does GitRoot handle security without a database or an API?

It's a system based entirely on your repo's configuration and how git works.

When you create a repo, your public SSH key is saved in the file: `.gitroot/users.yml`. You are automatically added to the `owner` group in that file. This group is marked to manage your default branch (main by default).

So, what does this mean in practice?

If you push to main: GitRoot checks your SSH key, sees you're the owner, and accepts the push. If someone else tries to push to main: their SSH key doesn't match the owner group. GitRoot rejects the push.

But here's the cool part: anyone can create a new branch (feature-fix for example) and push their changes to that branch.

This creates a perfect workflow: you, as the owner, remain the sole manager of the main branch and are the only one who can review and merge changes from other contributors. Contributors don't need to fork for contributions.

It's your repository, and you have the freedom to configure these rules however you want, right in that YAML file.

Learn more about user management: https://gitroot.dev/doc/#users

More tips:
- disable anonymous pushes: https://gitroot.dev/doc/how-tos/no_anonymous_user.html
- let all contributors write to all branches: https://gitroot.dev/doc/how-tos/contributors_can_write_all.html

#git #forge #configuration #ssh #security #devops




Show Original Post


10.11.2025 14:10
janekdererste (@janekdererste@det.social)

Duh! #programming #matsim #git #merge #conflict





Show Original Post


10.11.2025 13:46
itsfoss (@itsfoss@mastodon.social)

What’s crazy is that both Linux and Git were built in just a few months 🤯





Show Original Post


10.11.2025 13:23
sysedit (@sysedit@mastodon.social)

I've used submodules for quite some time now but I am hearing about git subtree for the first time. atlassian.com/git/tutorials/gi




Show Original Post


10.11.2025 10:30
samvermeulenpro (@samvermeulenpro@mastodon.zaclys.com)

#ActuLibre Comment archiver dans git des secrets de manière sûre avec sops, à lire sur youtube.com/watch?v=bBUxkojEGZM #vidéo #git




Show Original Post


10.11.2025 10:15
journalduhacker (@journalduhacker@framapiaf.org)

Comment archiver dans git des secrets de manière sûre avec sops journalduhacker.net/s/wzuyz1/c youtube.com/watch?v=bBUxkojEGZM #vidéo #git




Show Original Post


1 ...199 200 201 202 203 204 205 206 207 208 209 ...348
UP