Skip to content

Instantly share code, notes, and snippets.

View jbaris's full-sized avatar

Juan Ignacio Barisich jbaris

View GitHub Profile
@jbaris
jbaris / .bashrc
Last active January 12, 2022 12:02
~/.bashrc GIT functions
# Git
function gitst() {
for i in */; do \
if [ -d "$i/.git" ]; then
branch=$(cd $i && git rev-parse --abbrev-ref HEAD)
echo "$i($branch)"
(cd $i && git status -s)
fi
done
}