| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente |
| git:accueil [2025/12/26 11:10] – [Git] add link phsw | git:accueil [2026/04/16 11:44] (Version actuelle) – [Git] add link phsw |
|---|
| * [[https://maurycyz.com/misc/easy_git/|You already have a git server]] | * [[https://maurycyz.com/misc/easy_git/|You already have a git server]] |
| * [[https://etc.octavore.com/2025/12/archiving-git-branches-as-tags/|Archiving git branches as tags]] | * [[https://etc.octavore.com/2025/12/archiving-git-branches-as-tags/|Archiving git branches as tags]] |
| | * [[https://rodolphe.breard.tf/article/organiser-ses-arbres-de-travail-git/|Organiser ses arbres de travail git]] |
| | * [[https://spencer.wtf/2026/02/20/cleaning-up-merged-git-branches-a-one-liner-from-the-cias-leaked-dev-docs.html|Cleaning up merged git branches: a one-liner from the CIA's leaked dev docs]] |
| | * [[https://www.jvt.me/posts/2026/04/11/how-git-diff-driver/|How to build a git diff driver]] |
| | * [[https://piechowski.io/post/git-commands-before-reading-code/|The Git Commands I Run Before Reading Any Code]] |
| |
| |
| |
| |
| ==== Faire un rebase avec le premier commit ==== | ==== Rebase ==== |
| | |
| | * [[https://www.brethorsting.com/blog/2026/01/git-rebase-for-the-terrified/|Git Rebase for the Terrified]] |
| | |
| | |
| | === Faire un rebase avec le premier commit === |
| |
| [[https://stackoverflow.com/questions/22992543/how-do-i-git-rebase-the-first-commit|Source]] | [[https://stackoverflow.com/questions/22992543/how-do-i-git-rebase-the-first-commit|Source]] |
| |
| |
| ==== Compter le nombre de commits ==== | ==== Statistiques ==== |
| | |
| | === Compter le nombre de commits === |
| |
| [[https://stackoverflow.com/a/11657647|Source]] | [[https://stackoverflow.com/a/11657647|Source]] |
| </code> | </code> |
| |
| | Graphique du nombre de commits par année : |
| | <code bash> |
| | git log --format=%ad --date=format:%Y | sort -h | uniq -c | gnuplot -p -e "set terminal pngcairo size 800,600 enhanced font 'Segoe UI,10'; set output 'commits-per-years.png'; set yrange [0:]; set title 'Nombre de commits par année'; set style data histogram; set style fill solid border -1; set grid; plot '< cat -' using 1:xtic(2) notitle;" |
| | </code> |
| |
| |