piscine-shell00/ex06/git_ignore.sh

8 lines
126 B
Bash
Executable File

#!/bin/sh
repo_root="$(git rev-parse --show-toplevel)"
cd "${repo_root}"
git ls-files --others --ignore --exclude-standard