Skip to content

Commit

Permalink
feat: add git-lister-auteurs.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG committed Feb 7, 2024
1 parent a15bfbb commit 987170d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
16 changes: 16 additions & 0 deletions sources/dev/git-lister-auteurs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Lister les auteurs et coauteurs d'un dépôt git

```{literalinclude} snippets/git-lister-auteurs.sh
:lines: 3-
:language: shell
```

---

## 📜 Historique

2024-02-07
: Déplacement de l'article depuis le [blog](https://www.tiger-222.fr/?d=2021/09/15/09/33/11-lister-tous-les-auteurs-et-co-auteurs-dun-depot-git).

2021-09-15
: Premier jet.
6 changes: 6 additions & 0 deletions sources/dev/snippets/git-lister-auteurs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

git log \
| grep -e 'Author:' -e 'Co-authored-by:' \
| sed 's/Author: // ; s/Co-authored-by: // ; s/^ *// ; s/ <.*//' \
| sort -u

0 comments on commit 987170d

Please sign in to comment.