git branch -r \
| grep -v '\->' \
| sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" \
| while read remote; do \
git branch --track "${remote#origin/}" "$remote"; \
done
git fetch --all
git pull --all
Showing posts with label git. Show all posts
Showing posts with label git. Show all posts
Wednesday, January 01, 2025
Git get all remote branches
Sort commits by date
git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:iso8601) %(refname:short)'or put in .gitconfig alias
[alias] recent = "!git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:iso8601) %(refname:short)'"
Monday, March 26, 2018
Subscribe to:
Posts (Atom)
systemd-timesyncd
sudo apt update && sudo apt install systemd-timesyncd && sudo systemctl enable --now systemd-timesyncd
-
sudo -u www-data /usr/local/bin/composer install --no-ansi --no-dev --no-interaction --no-progress --no-scripts --optimize-autoloader
-
sudo apt update && sudo apt install systemd-timesyncd && sudo systemctl enable --now systemd-timesyncd