hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 1 年前GitHub Desktop or Git CLI?programming.devimagemessage-square158fedilinkarrow-up1518arrow-down131
arrow-up1487arrow-down1imageGitHub Desktop or Git CLI?programming.devhypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish · 1 年前message-square158fedilink
minus-squareRikudou_Sage@lemmings.worldlinkfedilinkEnglisharrow-up11·edit-21 年前Must 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-up11·1 年前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)
minus-squareovercast5348@lemmy.worldlinkfedilinkarrow-up3·11 个月前I was scared of reflog too. Had to use it for the first time recently after I accidentally’d a branch that I hadn’t pushed to remote yet. I was so glad that I could recover it all in <5 commands.
minus-squareValmond@lemmy.mindoki.comlinkfedilinkarrow-up6·1 年前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)?
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up4·1 年前Fsck is File System Check - realistically you should never need to use it.
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)
I was scared of reflog too. Had to use it for the first time recently after I accidentally’d a branch that I hadn’t pushed to remote yet. I was so glad that I could recover it all in <5 commands.
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.