Developers Can't Ignore Git History
16 posts across 2 communities since Apr 2026; 94% from Lemmy.
“Hi, I want to self host a git service to display my work (electronics) for some recruiters. Which platform is the best? I've heard about Gitlab, Gitea and Forgejo. For me the fact that the platform doesn't run some background analytics and does not sell my data is very important.”
Several posts discuss Git workflows, including commit messages, hooks, worktrees, and viewing history. Many posts focus on improving efficiency and automation within Git projects, and some highlight tools and techniques for managing repositories. This indicates a need for better developer tooling and understanding of Git best practices.
SOURCES (16)
“Hi, I want to self host a git service to display my work (electronics) for some recruiters. Which platform is the best? I've heard about Gitlab, Gitea and Forgejo. For me the fact that the platform doesn't run some background analytics and does not sell…”
“Whenever I do a `git revert` I go into an edit session with the following pre-filled. ```bash Revert "wip: does this work?" This reverts commit ad21a2ae23166b3f3cddoooooooom94821e3cdb4. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. ... ``` ...and so on. I like to use [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/), so I change this to `revert: "wip: does this work?"`. Is there a way to get the initial template for the revert commit message to appear this way by default? Lowercase, and with a colon. --- **UPDATE** This is what I came up with ```bash #!/bin/bash COMMIT_MSG_FILE=$1 old_subject_line=$(head -1 $COMMIT_MSG_FILE) # Not a revert if [[ ! "$old_subject_line" =~ ^Revert\ \" ]] then exit 0 fi new_subject_line=$(echo $old_subject_line|sed 's/^Revert/revert:/') sed -i "1s/.*/$new_subject_line/" $COMMIT_MSG_FILE ``` Curiously, the case where two "Reverts" in a row become a "Reapply" doesn't come up like I thought it would. Maybe it only happens if you use the default `Revert "yada yada yada"` subject line.”
