Common Git mistakes & how to recover
Në shqip: Gabimet e zakonshme në Git dhe si t'i rregullosh
ShpjegimiSQ
Commit në degën e gabuar? git branch e-reja, git reset --hard HEAD~1, git switch e-reja. Mesazh i gabuar? git commit --amend. Fshive diçka? git reflog. Faqja ohshitgit.com ka recetat për rastet më të shpeshta.
EnglishEN
Committed to the wrong branch? git branch new-one, git reset --hard HEAD~1, git switch new-one. Wrong message? git commit --amend. Deleted something? git reflog. The site ohshitgit.com has recipes for the most common cases.
Si ta mendosh
Si një libër i ndihmës së parë për Git-in.
Lexoje në anglisht
Like a first-aid manual for Git.
Shembull kodibash
git branch dega-e-duhur
git reset --hard HEAD~1
git switch dega-e-duhur