by panzerboy · 5y ago · 0 comments
So I tried the following:
git peek https://github.com/ylukem/pin-go -e code-insiders
It works, it downloads the repo, opens the editor but it immediately deletes it! Any idea how to fix this?
git peek is not a faster alternative to git clone. It’s for quickly reading other people’s code without needing to keep it around for writing or updating.
That being said, I could make it not delete the code after the editor closes and keep it somewhere. It just won’t have access to the git tree and other things you’d expect.
I could add a flag like —keep that doesn’t delete it and let’s you pass a place to put it.