Repository of bash scripts for various git utils.
Clone the repository:
cd ~
git clone https://github.com/osiris/git-bash-utils
Add to ~/.bashrc
:
if [ -d "$HOME/git-bash-utils" ]
then
PATH="$HOME/git-bash-utils:$PATH"
source $HOME/git-bash-utils/git-alias
fi
Show streak for the last 30 days.
cd ~/org-bash-utils
git-streak
□□□▣□□□□□□□□□□□□▣□▣□□□▣□□□□□▣▣
Show time in commits:
cd ~/git-bash-utils
ghm
Show sum time in commits:
cd ~/git-bash-utils
ghs
First, set the repositores directories in ~/.git-repos
cat ~/.git-repos | grep osiris
The git-repos
script, update each repo, show streak and last
commit log.
git-repos -f osiris
You can pull and push all repos at same time:
git-repos -f osiris -l -s
You can add a log with last commit info:
git-repos -f osiris -g
✔ □□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□ aps2dot 831c7c8 2012-03-12 15:04 osiris 00:05 hs - add example APS.txt, remove gitignore and convert README to rst ✔ □□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□ blog 5a0a2ff 2014-10-12 12:57 osiris 00:05 hs - nuevamente corrijo link epub tension en la red :-S ✔ □▣▣□□□□□□▣□□□□□□□□□□□□□□□□□▣□□▣ direplos 92c5d9b 2015-01-02 15:55 osiris 00:05 hs - add debian-keyring and realpath in deb ✔ □□▣□□□□□□□□□□□□□□□□□□□□□□□□□□□□ git-bash-utils e76a782 2014-12-05 12:31 osiris 00:05 hs - add -g parameter for show_log (default 0) in git-repos ✔ □□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□ html 57efd93 2014-10-12 12:56 osiris 00:05 hs - nuevamente corrijo link epub tension en la red :-S ✔ □□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□ libretA7 72ace93 2014-04-24 03:02 osiris 01:00 hs - refactor Makefile, remove examples directory, add new drafts ✔ □□□□□□□□□□□□□□□□□□□□□□□□□□□▣▣□□ media-bash-utils f566a75 2014-12-31 15:42 osiris 01:00 hs - better duplicate detect and fix exif datetime. ✔ □□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□ multiboot 7629e17 2014-04-23 00:18 osiris 01:00 hs - add grub.cfg ✔ □□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□ org-bash-utils 99d109f 2014-10-22 23:25 osiris 00:05 hs - add day name in x axis ✔ □□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□ org-mode-doc-es 18a25af 2014-03-23 11:46 osiris 01:04 hs - reorganizo archivos y realizo traducción de prueba 1% ✔ □□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□ pcap2dot 5909f77 2014-11-28 12:32 osiris 02:00 hs - add ip2png from hosts file ✔ □□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□ sugar-graphviz c7852ef 2014-09-15 13:52 osiris 02:15 hs - refactor parameters, add ignore_tables in sugar-relationships ✔ □□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□ traducciones 12888fb 2014-09-25 09:43 osiris 00:01 hs - Corrección menor