Last active
January 15, 2018 16:36
-
-
Save cevhyruz/554c439adc67e0f38357eb420a78b43b to your computer and use it in GitHub Desktop.
git live logging with working directory status for linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Save in $HOME/.local/bin/scripts | |
# Make it executable | |
# $ sudo chmod +x git-loglive-status | |
# Add to my $PATH | |
# echo -e "# my custom script directory\nexport PATH='$HOME/.local/bin/scripts'":'"$PATH"' >>~/.profile | |
# Restart terminal or run | |
# $ source ~/.profile | |
while : | |
do | |
clear | |
git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all $* | |
git status --short --untracked-files --branch --ignored --column | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment