omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Stash - git cmd (is there a simple copy from git cmd)

    Pythonista
    git stash
    2
    3
    3020
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Phuket2
      Phuket2 last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • dgelessus
        dgelessus last edited by

        git clone https://github.com/pmaupin/pdfrw.git
        rm -rf .git
        
        Phuket2 1 Reply Last reply Reply Quote 1
        • Phuket2
          Phuket2 @dgelessus last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors