You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh
|
|
# report on git repo in the current directory
|
|
|
|
if type -t git >&/dev/null; then
|
|
if pushd "$1" >/dev/null && [ -d .git ]; then
|
|
git show-ref --head -ds -- HEAD
|
|
git status -s
|
|
echo
|
|
popd >/dev/null
|
|
fi
|
|
fi
|
|
|