Я не зміг знайти можливість пошуку по своєму мастодон-блогу. Чи погано шукав.
Я не зміг знайти можливість пошуку по своєму мастодон-блогу. Чи погано шукав.
i somehow know how to do this manually (editing files), but what is canonical way of re-applying a commit, that was reverted?
So:
* commit A
* revert A
... other development ...
* do commit A in the same way as above
DO NOT TEACH 'git add .' to new #programmers start working with #Git. This is so bad! Adding Subdirectories (including .) should not be accepted by the 'git add' command. I have seen so much shit over the years commited by junior devs not reviewing what they doing. It's not the fault of junior #developers but Gits and everyone who's teaching 'git add .' #programming
Managed to get unit tests working in a pre-commit hook today - no more commits unless they pass the tests! Although every developer has to setup the hook manually because you can't easily put hooks into Git itself (there are hacky ways around this, e.g. by using post-install-cmd in Composer).
Nearly everything I work on is bespoke and legacy, so getting tests setup is a lot harder than with a new or modern project based on a framework.
️ Understanding Fabric Real-Time Intelligence in AI
Check out our new video on the AI integration in SmartGit 25.1 Preview (work in progress, still evolving):
Commit faster and write better messages — with your choice of AI:
- GitHub's free and pro models
- OpenAI
- Anthropic (Claude)
- Ollama (on-premise)
We'd love to hear which model you prefer — let us know!
Mi propio servidor Git gracias a Docker https://myblog.clonbg.es/mi-propio-servidor-git-gracias-a-docker/ #Docker #Git https://clonbg.es
️ Microsoft Introduces ArgoCD in GitOps
#peertube #archive #lispyGopherClimate https://communitymedia.video/w/bHafNcgW9jDXM1kdmdsyRo
#unix #emacs #theUnixPhilosophy #lisp #interview
https://codeberg.org/ramin_hal9001/lisp-gopher-climate_chat-about-emacs show #git #notes
@sacha I guess the RSS is https://communitymedia.video/feeds/videos.xml?accountId=216498&token=8cb5dc2f-82e7-4d3f-ad2c-95457f46b631 and I am going to put all the years there including your interviews... eventually. Might need to add subtitled/post-ex-facto video content.
Last month I migrated my repositories to Codeberg. After a few HTML changes to my 2019 bootcamp portfolio I just deleted my GitHub account. For horror coding fans here’s a link. https://reubenwalker.codeberg.page/updated-portfolio/portfolio.html
#codeberg #github #git
Hay #webdev people, #sysadmin person here. I'm in an #academic #science setting. We want people to make #web sites to support papers. A few years ago I was told #Djangeo was good. We are now linking there sites to there #git repos.
However, some sites made long ago, that where just a few #CGI scripts still work are still up. Yes, they where easy to review & confirm security. Django sites need porting.
So, I'm going shitty CGI scripts?
The way Gitlab, Forgejo, Gitea etc. use the server-side SSH server to accept pushed data over SSH relies on a system user called git
having SSH access. (or forgejo
in their case).
Access is granted by the standard authorized_keys
inside ~/.ssh, which for forgejo means /var/lib/forgejo/.ssh/authorized_keys
. When a user adds an SSH key to their account, it's added to this authorized_keys file.
I really hate this, this means that any user of Forgejo is only inches away from having full shell access. The default shell of the forgejo
user is /bin/bash
, it exists inside of /etc/passwd
:
forgejo:x:122:130:Forgejo (Beyond coding. We forge.):/var/lib/forgejo:/bin/bash
I really really hate this. The only thing preventing random users of Forgejo having shell access is the default command of the SSH session as stipulated by the authorized_keys
entry, this is what it looks like:command="/usr/bin/forgejo --config=/etc/forgejo/app.ini serv key-1",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,no-user-rc,restrict ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOgnZeNC4fMCXYuWxir7NlKts9Zj4sYZZJzzHh4IyTm2 Baa-New
forgejo
user. It will immediately disconnect you, and if you try submitting any specific command you'll receive Disallowed command
.control userpasswords2
and then explicitly disallow them RDP access. That RDP config is the only thing preventing them for remoting straight into your server. This si what it feels like, I can't help but wish SSH was entirely separate from everything else going on here.Is the right analogy for #git is choose-your-on-adventure book?
util/sortashuffle - 有序地隨機化項目
➤ 持續整合與程式碼品質提升
✤ http://git.tgwil.net/util/sortashuffle/
這份紀錄追蹤了 `util/sortashuffle` 專案的程式碼變更,顯示了開發者 Tristan Williams 在過去兩週內進行的多項更新。這些更新包括程式碼風格調整、錯誤修正、文件更新、以及確保 UTF-8 編碼等。開發者也反思了在提交程式碼前進行測試的重要性。
+ 感覺開發者在不斷地完善這個工具,雖然每次改動不大,但累積起來效果應該不錯。
+ 看到 commit message 有「I should test things before I commit」真是太有趣了,開發者也很有自知之明。
#版本控制 #程式碼更新 #Git
alguien quiere ser mi colega de #git ? #python
estoy trabajando en una solucion para importar contenido de #youtube a #peertube
No es nada revolucionario... estoy aprendiendo :]
pero trato de hacerlo de la forma mas "profesional" posible.
tengo changelog:
https://codeberg.org/audricd/yt_2_pt/wiki/Changelog
requisitos:
https://codeberg.org/audricd/yt_2_pt/wiki/Requirements
kanban, con desarrollo / bugs:
https://codeberg.org/audricd/yt_2_pt/projects/14445
o sea que es bastante facil de incorporarse. aparte que el responsable (yo) es super majo, pese la apariencias
@kyva_dev @dotoscat @trankten @sam
se agradece #boost
@stib Sounds like you need a keychain which stores your private key for the session.
This is one solution
If I have a #codeberg account set up, with a verified #ssh key on my account and the corresponding public and private keys in `~/.ssh/`, is there a way that I can make it so that it doesn't ask me for my keyphrase every time I push? I'm sure VSCode could do this, but since I've switched to #Helix, which doesn't have git built-in I've been manually doing the git stuff.
My knowledge of #cryptography and #git are well and truly at the 'barely enough to get myself into trouble' level.
#AskFedi
You Don’t Know Git - Edward Thomson - NDC London 2025
www.youtube.com/watch?v=DZI0...
#ndclondon #git
You Don’t Know Git - Edward Th...