DEV Community

Discussion on: Quickly Change Directory to the Repo You Just Cloned

Collapse
 
moopet profile image
Ben Sinclair • Edited

I know it's not addressing the crux of your post, but Alt-. does the last word on the previous command.
So I do:

git clone whatever wherever
cd <alt-.>

and I am happy :)

Collapse
 
hoelzro profile image
Rob Hoelz

Yeah, Alt-. is a great alternative to !$!