Skip to content

Instantly share code, notes, and snippets.

View marshallvaughn's full-sized avatar
🛠️

Marshall Vaughn marshallvaughn

🛠️
View GitHub Profile
@marshallvaughn
marshallvaughn / dev-resources.md
Last active December 7, 2021 18:49
dev-resources

Dev Resources

A simple collection of scripts/sites I find useful day-to-day. Feel free to use or copy as you wish.

@marshallvaughn
marshallvaughn / Git Cookbook.md
Last active January 31, 2023 20:57
Collection of quick-reference snippets for everyday use with git.
# Get the last commit SHA
git log -1 --format='%H' # long sha
git log -1 --format='%h' # short sha

Get the branch name only.

git rev-parse --abbrev-ref HEAD