GIT
Something Strange is Going On, Let's just Reset Everything
Pull ALL THE THINGS
Example
Clone a Bare Repo, Useful for Hosting
git clone --bare --mirror --shared URI-TO-REPO
If you're hosting mirrors that are done as bare repos, then you should update. This makes sure you're getting all the branches and updates. Drop this into a cron and let it run.
#!/usr/bin/env bash
cd /srv/git || exit 1
for x in $(echo *.git); do
cd "${x}"
echo "Updating ${x}"
git remote update
git --bare fetch --all
git --bare fetch origin *:*
cd ..
done
Convert a Repo to Bare - Useful when a Big Oopsie Happens
Example
Git Commits failing to Sign
This most likely happens when pin entry is broken
When pinentry-mac is most likely broken