![]() We recommend that you use the built-in credentials helper to pass the credentials to the command line when connecting to the remote repository using an HTTPS. If your repository is private you will need to enter credentials on the Authentication tab. The template directory can include some directory structure, ignore patterns and hook files. Template - A directory containing templates will be copied to the. Non-existing directories are skipped with a warning instead of aborting the clone - Skip folders not able in reference repository without aborting the clone. This can allow fewer objects to be copied from the repository being cloned, reducing network and local storage costs. Reference repository - Path to a reference repository on the local machine to obtain objects from. If this field is not provided then the last name in the URL will be used as the destination directory. ![]() Name of the directory to clone into - This is the destination for the clone and is relative to the working directory. NOTE: this is a possibly dangerous operation do not use it unless you understand what it does. The resulting repository starts out without any object of its own. git/objects/info/alternates to share the objects with the source repository. ![]() Shared - When the repository to clone is on the local machine, instead of using hard links, automatically setup. This may be desirable if you are trying to make a back-up of your repository. git/objects directory instead of using hardlinks. No hard links - Force the cloning process from a repository on a local filesystem to copy the files under the. com /path/to/repo.git.Ĭlone is a local repository - When the repository to clone from is on a local machine, this flag bypasses the normal "Git aware" transport mechanism and clones the repository by making a copy of HEAD and everything under objects and refs directories. path/to/repo.git, com/path/to/repo.git or git://host. Repository to clone - The URL of the repository to clone e.g. ![]() Working directory - The directory to run the command line form. The destination directory cannot already contain a repository, otherwise the command will fail. To clone a remote repository, you need to specify a working directory and the URL of the repository to clone from. For more information on the use and options for this action, refer to the git clone command line documentation. This action is a wrapper for the git command line. The Git Clone Repository action allows you to clone an existing git repository into a new directory. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |