Git Clone -Branch
Git clone branch is used to clone the branch which required and presnt in the remote git repository to local machine. Following is the command which is used to clone the repository to the local machine.
git clone –branch <branch_name> <remote_repository_url>
In the above the branch name describes the name of the branch which you to clone and the repository URL will the ssh url of the branch in the remote repository.
What is Git Clone?
Git Clone will make a copy of the existing git repository in the local machine. This means it will download all the files and directories which are available in the repository available in the remote repository. Git clone will make the repository online which will help us to test the new features before merging into the main or production branch.
Contact Us