hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 11 months agoGitHub Desktop or Git CLI?programming.devimagemessage-square21fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageGitHub Desktop or Git CLI?programming.devhypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 11 months agomessage-square21fedilink
minus-squarefckreddit@lemmy.mllinkfedilinkarrow-up0·11 months agoWell, you learn four commands and hope for the best.
minus-squareValmond@lemmy.mindoki.comlinkfedilinkarrow-up0·11 months agofetch, reset --hard, checkout -b and cherry-pick? :-D
minus-squaremuix@infosec.publinkfedilinkarrow-up0·edit-211 months agoMore like clone, pull, commit, and push --force >:-D
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up0·11 months agoNah, rebase -i, squash, fsck and reflog
minus-squareRikudou_Sage@lemmings.worldlinkfedilinkEnglisharrow-up0·edit-211 months agoMust be an interesting work if you never add, commit or push. Edit: How the hell did you get the repo without clone?
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up0·11 months agoPshaw, real programmers write out the contents of .git by hand. (Also, it was a joke, the last two commands I listed are ones you’ll ideally never need in your life)
minus-squareValmond@lemmy.mindoki.comlinkfedilinkarrow-up0·11 months agoreflog saved my life once after a stupid misshap. All rebase are belong to us (onto, rebase, and ofc interactive) but what’s fsck (I don’t squash personally)?
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up0·11 months agoFsck is File System Check - realistically you should never need to use it.
Well, you learn four commands and hope for the best.
fetch, reset --hard, checkout -b and cherry-pick?
:-D
More like clone, pull, commit, and push --force
>:-D
Nah,
rebase -i
,squash
,fsck
andreflog
Must be an interesting work if you never
add
,commit
orpush
.Edit: How the hell did you get the repo without
clone
?Pshaw, real programmers write out the contents of
.git
by hand.(Also, it was a joke, the last two commands I listed are ones you’ll ideally never need in your life)
reflog saved my life once after a stupid misshap.
All rebase are belong to us (onto, rebase, and ofc interactive) but what’s fsck (I don’t squash personally)?
Fsck is File System Check - realistically you should never need to use it.