Skip to content

Instantly share code, notes, and snippets.

@krscott
Last active June 20, 2023 02:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krscott/3e99609874319b8e6f172f2bbf32abda to your computer and use it in GitHub Desktop.
Save krscott/3e99609874319b8e6f172f2bbf32abda to your computer and use it in GitHub Desktop.
My git aliases
[alias]
lol = log --oneline --graph --decorate --date-order
lola = log --oneline --graph --decorate --date-order --all
s = status -s
ka = !gitk --all --date-order
k = !gitk --date-order
pull-sm = !git pull && git submodule update --recursive && git lfs fetch --all && git lfs pull
smu = !git submodule update --init --recursive && git lfs fetch --all && git lfs pull
smr = !git reset --hard --recurse-submodule && git submodule sync --recursive && git submodule update --init --force --recursive && git submodule foreach --recursive git clean -ffdx && git lfs fetch --all && git lfs pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment