首页 > 解决方案 > why is there a GitHub folder on my computers boot drive?

问题描述

I use GitHub. I thought the files were stored on the website. so why do I have a GitHub folder on my desktop (it takes up a lot of bootdrive space)? The GitHub folder has subfolders with the names of my repositories

C:\Users\cches\Documents\GitHub

标签: github

解决方案


That is choice made by the tool you are using when working with GitHub: you are using GitHub Desktop.

And GitHub Desktop chooses to store its local cloned repos in %USERPROFILE%/Documents/GitHub (as shown in issue 1663)

You should be able to delete those stored repos, clone only the ones you need, and File | Add existing repository in Desktop, as in issue 2851.


推荐阅读