Stash - git cmd (is there a simple copy from git cmd)
I think I know git cmd in stash is not from stash, but from shellista. Maybe with some mods. I had a look at the git.py in the stash install.
In stash, i navigated to a directory that I made then issued several git cmds. Not really knowing what I was doing. But I really just wanted to copy the git into the current dir. But not as a managed git. I just wanted the files from the git, including the directory structure of course.
It appears I can't do that. It would be helpful for me to know if there is a technical reason why I can't just say
git copy 'https://github.com/pmaupin/pdfrw' , besides the fact there seems to be no copy param.
I have just had so many problems in the past when I have tried to clone a git repo. I would be just super happy if I could copy git repos into Pythonista.
Look, I know its a lack of skill on my part. But a simple copy from git function would really help people like me get started.
Also I know there are many different scripts doing similar things. But I would like to try and focus on just on tool. It seems to me stash is the tool worth learning. While I really hate cmd line, I am just going to have to get with the program.
git clone https://github.com/pmaupin/pdfrw.git rm -rf .git
@dgelessus , thank you so much. I can see it is still a clone and then deleting the .git subdir. But that's ok. When I paste your text into stash, just works. All the crap I tried, was just errors. I just tried so many things, I couldn't think straight anymore.
Still I don't understand why it needs to be a clone. I feel there just should be a copy param to help stupid people like me.
Just venting 😭😱 I know it can't be that hard, but I find repos etc very difficult. But thanks again.