hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 11 months agoGitHub Desktop or Git CLI?programming.devimagemessage-square125fedilinkarrow-up1511arrow-down131
arrow-up1480arrow-down1imageGitHub Desktop or Git CLI?programming.devhypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 11 months agomessage-square125fedilink
minus-squarepopcar2@programming.devlinkfedilinkarrow-up10·11 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.