SSH [SOLVED]: Make.git open in ssh

SSH [SOLVED]: Make.git open in ssh

Home Forums SSH SSH [SOLVED]: Make.git open in ssh

Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36537

    Anonymous

    QuestionQuestion

    I have download a git with a wget on a vps through putty.

    I see the file is listed on the vps like so:

    bitcoin-sniffer.git  .lastlogin     .python_history
    

    Now how can I execute the .git, or actually use the files that are within it? I have tried

     git clone bitcoin-sniffer.git
    

    The error:

    fatal: destination path 'bitcoin-sniffer.git' already exists and is not an empty directory.
    

    #36538

    Anonymous

    Accepted AnswerAnswer

    Generally, the git clone command is followed by an address with ssh or HTTPS path to download a repo. The git command is not run against a *.git “package”.

    An example would be:
    bash
    git clone https://github.com/sebicas/bitcoin-sniffer.git

    This would download and create a folder by the name bitcoin-sniffer. Within this folder, git commands can be run, like git status.

    Source: https://stackoverflow.com/questions/47949379/make-git-open-in-ssh
    Author: nobis99
    Creative Commons License
    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.