Git + Bash
Les âges des branches
$ git for-each-ref --sort=authordate --format '%(authordate:relative) %(refname:short)' refs/heads
#!/usr/bin/env sh | |
# Warning! This script is a work in progress. | |
# | |
# The sript is buggy since logout/restarts are needed between some steps (zsh or docker I guess) | |
# but it's a good reminder of what needs to be done to setup a new machine. | |
main () { | |
install_prerequisites | |
install_and_configure_zsh |
$ git for-each-ref --sort=authordate --format '%(authordate:relative) %(refname:short)' refs/heads
#!/bin/bash | |
# works with a file called VERSION in the current directory, | |
# the contents of which should be a semantic version number | |
# such as "1.2.3" | |
# this script will display the current version, automatically | |
# suggest a "minor" version update, and ask for input to use | |
# the suggestion, or a newly entered value. |