Skip to content

Instantly share code, notes, and snippets.

@nmagee
Last active September 9, 2026 16:53
Show Gist options
  • Select an option

  • Save nmagee/376c9b8d19edde584b31f44d3936d59c to your computer and use it in GitHub Desktop.

Select an option

Save nmagee/376c9b8d19edde584b31f44d3936d59c to your computer and use it in GitHub Desktop.
Global .gitconfig
[alias]
lol = log --graph --oneline --decorate --color --all
s = status -sb
pom = push origin main
undo = reset HEAD~1 --soft
outgoing = log @{u}..
oops = commit --amend --no-edit
monitor = "!f() { repo=$(gh repo view --json nameWithOwner -q .nameWithOwner); id=$(gh run list --repo \"$repo\" --limit 1 --json databaseId -q '.[0].databaseId'); echo \"Watching run $id on $repo\"; gh run watch \"$id\" --repo \"$repo\" --exit-status; }; f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment