Created
May 15, 2018 17:09
-
-
Save riomyers/c5f4a8081f5bbf498a1aaabdf6af5ed2 to your computer and use it in GitHub Desktop.
Revisions
-
riomyers created this gist
May 15, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ # Git Commit Options ## Basic Git Commit - (not recommended) opens text editor to add a message `git commit` ## Commit With Message `git commit -m 'commit message goes here'` ## Stage and Commit Changes in One Step `git commit -a -m 'commit message goes here'` ## Add Additional Changes and Modify Previous Commit Message `git commit --amend` ## Add Additional Changes and Don't Modify Previous Commit Message `git commit -a --amend --no-edit`