split git commands
This commit is contained in:
11
pages/common/git-commit.md
Normal file
11
pages/common/git-commit.md
Normal file
@@ -0,0 +1,11 @@
|
||||
#git commit
|
||||
|
||||
>Commit staged files to the repository
|
||||
|
||||
- Commit staged files to the repository with comment
|
||||
|
||||
`git commit -m {{MESSAGE}}`
|
||||
|
||||
- Replace the last commit with currently staged changes
|
||||
|
||||
`git commit --amend`
|
Reference in New Issue
Block a user