Skip to content

Instantly share code, notes, and snippets.

View simonrenoult's full-sized avatar
Working from home

Simon Renoult simonrenoult

Working from home
View GitHub Profile
#!/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 () {
sroccaserra /
Last active February 1, 2022 10:51
Analyser rapidement un répo de code

Git + Bash

Les âges des branches

$ git for-each-ref --sort=authordate --format '%(authordate:relative) %(refname:short)' refs/heads

Les 100 fichiers qui changent le plus souvent

pete-otaqui /
Created December 2, 2012 11:08
Bump a software project's VERSION, add the CHANGES, and tag with GIT
# 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.