Skip to content

Instantly share code, notes, and snippets.

@MonksterFX
Last active August 19, 2020 07:24
Show Gist options
  • Save MonksterFX/1d2f280f69a228b49f2efda5bd90332c to your computer and use it in GitHub Desktop.
Save MonksterFX/1d2f280f69a228b49f2efda5bd90332c to your computer and use it in GitHub Desktop.
git practise

git commit

some usefull command for git

append to previous commit

git add <file> or git add .
git commit --amend

# without message
git commit --amend --no-edit

# with message
git commit --amend -m "Your new commit message"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment