osiris / git-bash-utils

Mirror of https://gitlab.com/osiux/git-bash-utils

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Git Bash Utils

overview

Repository of bash scripts for various git utils.

install

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

scripts

git-streak

Show streak for the last 30 days.

cd ~/org-bash-utils
git-streak
□□□▣□□□□□□□□□□□□▣□▣□□□▣□□□□□▣▣

git-alias

Show time in commits:

cd ~/git-bash-utils
ghm

Show sum time in commits:

cd ~/git-bash-utils
ghs

git-repos

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

About

Mirror of https://gitlab.com/osiux/git-bash-utils

License:GNU General Public License v3.0


Languages

Language:Shell 99.9%Language:Makefile 0.1%