@hypnotic_nerd to Programmer HumorEnglish • 10 months agoGitHub Desktop or Git CLI?imagemessage-square159arrow-up1523arrow-down132
arrow-up1491arrow-down1imageGitHub Desktop or Git CLI?@hypnotic_nerd to Programmer HumorEnglish • 10 months agomessage-square159
minus-square@popcar2link10•10 months ago git pull git add * git commit -m “Some stuff” git push And occasionally when you mess up git reflog git reset HEAD@{n} (where n is where you wanna roll back to) And occasionally if you mess up so hard you give up git reset --hard origin/main And there you go. You are now a master at using git. Try not to mess up.
git pull
git add *
git commit -m “Some stuff”
git push
And occasionally when you mess up
git reflog
git reset HEAD@{n} (where n is where you wanna roll back to)
And occasionally if you mess up so hard you give up
And there you go. You are now a master at using git. Try not to mess up.