![]() ![]() ![]() 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. 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. ![]() Note that this is a project called Git for Windows, which is separate from Git itself for more information on it, go to. Just go to and the download will start automatically. Git is platform-agnostic, so you can learn it once and use it everywhere. The most official build is available for download on the Git website. Whether you're working within PowerShell using Git for Windows or you're inside WSL, the commands you need are the same. 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 |