π
π
π
π
Git-Help
Git Cheatsheet
Searchβ¦
A Simple Git Help
Basics
Git Branching
Pull Request
Submodules
Commands / Actions
Commit changes to other branch
git log
git status
git init
Amend a commit
Reset a file or full
Undo git add
Get remote repo url
Add or Set Remote URL
delete branch
Credits & Other
Other good links
Credits
Powered By
GitBook
Amend a commit
To modify an existing commit
β
Git Amend
Lets say you commited your code to local repository and later you found you want to add or modify that commit, you can use git amend.
git commit --amend
Note:- this amend works only for the local git commit which is not yet pushed to remote repo.
β
git rebase --continue
Commands / Actions - Previous
git init
Next - Commands / Actions
Reset a file or full
Last modified
11mo ago
Copy link