Skip to content

Instantly share code, notes, and snippets.

@frnkst
frnkst / git-change-commit-messages.md
Created October 2, 2018 20:15 — forked from nepsilon/git-change-commit-messages.md
How to change your commit messages in Git? — First published in fullweb.io issue #55

How to change your commit messages in Git?

At some point you’ll find yourself in a situation where you need edit a commit message. That commit might already be pushed or not, be the most recent or burried below 10 other commits, but fear not, git has your back 🙂.

Not pushed + most recent commit:

git commit --amend

This will open your $EDITOR and let you change the message. Continue with your usual git push origin master.

@frnkst
frnkst / .bash_profile
Created August 26, 2018 21:31 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@frnkst
frnkst / ThirdPartyNoticesExample.md
Created September 1, 2017 09:41 — forked from Radagaisus/ThirdPartyNoticesExample.md
Markdown Table from Yarn Licenses (YMMV)