Answers for "git commit -ammend"

-1

git ammend commit

# Edit hello.py and main.py 
# git add hello.py ---> git commit 
# Realize you forgot to add the changes from main.py
# git add main.py 
git commit --amend --no-edit
Posted by: Guest on April-25-2021
0

git commit

//now commit the code
git commit -m "anyMessageYouWantToWrite"
Posted by: Guest on December-29-2020

Browse Popular Code Answers by Language