About 389,000 results
Open links in new tab
  1. 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?

  2. 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 …

  3. Git how to clone with SSH key, username - Stack Overflow

    This way it will apply this config and use a key different than id_rsa before actually fetching any data from the git repository. subsequent fetch or push will use the specified key to authenticate …

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

  5. 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 …

  6. git - Cloning a repo from someone else's Github and pushing it to …

    Jun 27, 2017 · 128 GitHub: git clone someone else's repository & git push to your own repository I'm going to refer to someone else's repository as the other repository.

  7. How do I provide a username and password when running "git clone

    Apr 7, 2012 · To clone a repository, first you should generate an access token (you can't use your login password anymore) and then clone the repository with this generated token.

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

  9. git clone through ssh - Stack Overflow

    I have a project on which I created a git repository: $ cd myproject $ git init $ git add . $ git commit I the wanted to create a bare clone on another machine: $ cd .. $ git clone --bare

  10. git clone: Authentication failed for <URL> - Stack Overflow

    4 Go to Control Panel\All Control Panel Items\Credential Manager and select Generic Credentials. Remove all the credential with your company domain name. Git clone repository from git bash …