cybercitizen4@lemm.ee to Asklemmy@lemmy.ml · 14 days agoWhat's a handy terminal command you use often?message-squaremessage-square226fedilinkarrow-up177arrow-down12
arrow-up175arrow-down1message-squareWhat's a handy terminal command you use often?cybercitizen4@lemm.ee to Asklemmy@lemmy.ml · 14 days agomessage-square226fedilink
minus-squareitsame@lemmy.worldlinkfedilinkarrow-up4·14 days agopushd and popd to change directory and go back when done there.
minus-squarejbrains@sh.itjust.workslinkfedilinkarrow-up0·14 days agoEven better when cd automatically invokes pushd.
minus-squarelluki@feddit.orglinkfedilinkarrow-up2·14 days agocd - undoes the last cd. Not quite push/popd but still useful. Pro tip, works also: git checkout -
pushd and popd to change directory and go back when done there.
Even better when
cd
automatically invokespushd
.cd -
undoes the last cd. Not quite push/popd but still useful. Pro tip, works also: git checkout -