Skip to content

Instantly share code, notes, and snippets.

View peterjwest's full-sized avatar

Peter West peterjwest

  • Oxford, UK
View GitHub Profile
@jaygooby
jaygooby / git_notes.md
Last active February 6, 2026 12:49
Git, you bloody git

Rename a remote

git remote rename <old-name> <new-name>

Case Insensitive search all commit messages

git log -i --grep='weavils'

Add --all if you also want to check all branches, not just the current one.

Alias for recently edited branches

git lb