@hypnotic_nerd to Programmer HumorEnglish • 7 months agoGitHub Desktop or Git CLI?imagemessage-square159arrow-up1523arrow-down132
arrow-up1491arrow-down1imageGitHub Desktop or Git CLI?@hypnotic_nerd to Programmer HumorEnglish • 7 months agomessage-square159
minus-square@[email protected]linkfedilink18•7 months agofetch, reset --hard, checkout -b and cherry-pick? :-D
minus-squareRikudou_SagelinkfedilinkEnglish11•edit-27 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-square@[email protected]linkfedilink11•7 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-square@[email protected]linkfedilink3•6 months agoI 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-square@[email protected]linkfedilink6•7 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-square@[email protected]linkfedilink4•7 months agoFsck is File System Check - realistically you should never need to use it.
minus-square@[email protected]linkfedilink11•edit-27 months agoMore like clone, pull, commit, and push --force >:-D
fetch, reset --hard, checkout -b and cherry-pick?
:-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)
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.
More like clone, pull, commit, and push --force
>:-D
push origin head
^^