The third option lets you open a Pull Request branch so you can pretend to thoroughly review it. You can paste in the URL to a GitHub repo if you happen to just have that hanging around on your clipboard (weird) OR you can browse GitHub by selecting "Open Repository from GitHub". You can also get to this option from the Command Palette if clicking on things with a mouse is too much trouble. If you have other Remote extensions for VS Code installed, you'll see a lot more options in this list, so just search for the right one. You'll see a new option for "Open Remote Repository". This saves you from having to manually initialize and update the submodules later.To open a GitHub repo, click on the green indicator in the lower left-hand corner of VS Code. If your project contains submodules, using this parameter will make sure that all submodules will both be cloned and initialized once the main project has been cloned. ![]() recurse-submodulesĬlones and initializes all contained submodules. If this option is not specified, Git will simply create a new folder named after the remote repository. The name of the folder on your local machine where the repository will be downloaded into. Usually, this will point to a remote server, using a protocol like HTTP, HTTPS, SSH, or GIT. Specifies the URL of the remote repository. That remote repository's URL is then later referred to as the "origin". Typically, the "original" repository is located on a remote server, often from a service like GitHub, Bitbucket, or GitLab). ![]() ![]() You will then have a full-blown, local version of that Git repo and can start working on the project. The "clone" command downloads an existing Git repository to your local computer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |