![]() ![]() For this example, we're going to clone the Microsoft Visual Studio Code repo. It will only save to the Linux file system if you tell it to.Ĭloning from GitHub basically requires you to get a web address to feed into the Git client. WSL distros can also access the Windows filesystem so if you're using Linux on your Windows box, the same idea applies. To install Git on Windows you can simply go to the Git for Windows website and download the executable, or if you want to use the Windows Package Manager, open up a new PowerShell. So if you want to put it somewhere specific, find the right location in File Explorer then right-click and open in PowerShell/Windows Terminal. ![]() When you clone the repo in the terminal, it will create your local folder inside whatever directory your command line is in at that point. Git is platform-agnostic, so you can learn it once and use it everywhere. RDP, VNC, VMRC, SSH, Telnet, RAS, ICA Citrix, HTTP and HTTPs based protocols are integrated. Whether you're working within PowerShell using Git for Windows or you're inside WSL, the commands you need are the same. Terminals is a secure, multi tab terminal services/remote desktop client. Cloning is essentially downloading, in so much as you point your local Git client at the destination on GitHub and it will pull the content down, creating a new directory on your local machine. Source: Windows Central (Image credit: Source: Windows Central)Ĭloning is one of the most basic functions of Git and one that you can use happily without getting in the weeds too much if all you're interested in is being able to pull content from GitHub. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |