git commit --amend
Në shqip përdoret i njëjti emër.
ShpjegimiSQ
git commit --amend e ndryshon commit-in e fundit — p.sh. për të rregulluar mesazhin ose për të shtuar një skedar të harruar. Mos e përdor për commit-e që i ke bërë push dhe i përdorin të tjerët.
EnglishEN
git commit --amend changes the last commit — e.g. to fix its message or add a forgotten file. Don't use it on commits you've already pushed and others are using.
Si ta mendosh
Si ta korrigjosh fjalinë e fundit para se t'ia dorëzosh letrën postierit.
Lexoje në anglisht
Like correcting the last sentence before handing the letter to the postman.
Shembull kodibash
git add skedari-i-harruar.js
git commit --amend -m "Shto faqen e kontaktit"