How To Fix Your Last Commit with Git Commit Amend
Автор: TechBridge with Rukky
Загружено: 2025-03-29
Просмотров: 32
Made a mistake in your last commit?
No worries! 🚀 Learn how to fix it with `git commit —amend` in this quick tutorial.
git add myfile.txt
git commit -m “feat(FOO-123): my cool commit”
oops, I forgot to add a change to the file
make changes
git add myfile.txt
git commit —amend —no-edit
Oh, I made a change that I need to include in the commit message:
git commit —amend
Overwrite the branch history on the server except
if someone else has pushed anything in the meantime
git push —force-with-lease
Watch now and level up your Git skills!
Follow me on instagram @techbridge_withrukky
#GitTips #DevOps #CodingTutorial#beginners # #devopsengineer #techcareers #devopstools #techgirls #devops #explore #momintech #remotejobs #careerswitch #devopscommunity Techbridgewithrukky#momintech#womenintech#git
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: