diff --git a/.config/git/config b/.config/git/config index a1ec983..5db767b 100644 --- a/.config/git/config +++ b/.config/git/config @@ -62,6 +62,7 @@ r = remote -v b = branch -vv + ba = b -a ref = reflog rev = rev-parse --short head = rev-parse --short HEAD @@ -121,6 +122,7 @@ # data journal = !git cme "notes/journal:" -- $(git root)/2-standards/notes/journal + note = !git cme "notes:" -- $(git root)/2-standards/notes [filter "lfs"] clean = git-lfs clean -- %f diff --git a/.config/shell/git b/.config/shell/git index 2849c16..a6e743b 100644 --- a/.config/shell/git +++ b/.config/shell/git @@ -81,7 +81,7 @@ gitremote() { gitclone() { remote=$(gitremote "$@") echo $remote - git clone $remote ${@:4} + git clone $remote ${@:4} || return $? cd "$(test $4 && echo $4 || basename ${remote/.git})" }