piscine-shell00/ex05/git_commit.sh

7 lines
80 B
Bash
Executable File

#!/bin/sh
# git log --format=%H
# More robust
git rev-list --max-count=5 HEAD