About 847,000 results
Open links in new tab
  1. How do I clone a Git repository into a specific folder?

    Sep 11, 2016 · To clone git repository into a specific folder, you can use -C <path> parameter, e.g. git -C /httpdocs clone [email protected]:whatever Although it'll still create a whatever folder …

  2. git - GitHub Clone with OAuth Access Token - Stack Overflow

    Feb 19, 2017 · I can save a github access token variable and user a script with git clone https://oauth: [email protected] /user/repo.git or just add the token itself to a script.

  3. git - Clone a private repository (GitHub) - Stack Overflow

    I added a new SSH key to my GitHub account for the laptop and was successful in cloning and making changes to a public test repository that I set up. However, I couldn't clone the private …

  4. How do I clone a specific Git branch? - Stack Overflow

    Git clone will clone remote branch into local. Is there any way to clone a specific branch by myself without switching branches on the remote repository?

  5. How to clone all repos at once from GitHub? - Stack Overflow

    I have a company GitHub account and I want to back up all of the repositories within, accounting for anything new that might get created for purposes of automation. I was hoping something …

  6. git - How do I clone all remote branches? - Stack Overflow

    78 Here is the best way to do this: mkdir repo cd repo git clone --bare path/to/repo.git .git git config --unset core.bare git reset --hard At this point you have a complete copy of the remote …

  7. How do I clone a subdirectory only of a Git repository?

    If you never plan to interact with the repository from which you cloned, you can do a full git clone and rewrite your repository using git filter-branch --subdirectory-filter <subdirectory>

  8. github - How do I connect to my existing Git repository using …

    May 20, 2020 · I now have run into the need to use GitHub and an online Git repository. I have the online Git repository set up and have been pushing changing to the online repository using …

  9. How do I "git clone" a repo, including its submodules?

    Sep 26, 2010 · If you want to use git clone --recurse-submodules --remote-submodules <repo-URL> to clone and update to the latest version, your submodules must either 1. have a branch …

  10. How to clone only some directories from a git repository?

    With git, you clone the entire repository, and the full history of the repository. There are some workaround solutions to be able to get a single file out of a git archive, listed on a Stack …