Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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`
Add Comment
Please, Sign In to add comment