Skip to content

Instantly share code, notes, and snippets.

View vuljormp's full-sized avatar
😦

Wei-Jiun, Hsiao vuljormp

😦
View GitHub Profile
@vuljormp
vuljormp / git_alias.md
Last active July 14, 2023 01:21
Git Alias

rvfrom

View revisons from certain commit to head
git rvfrom [hash|branch|tag]

git config --global alias.rvfrom '!\
f(){
    if test -n "$1"; then
        git rev-parse "$1" >/dev/null 2>&1 || { echo Unknown revision "$1"; return; }
 rev="$1..";