简体   繁体   English

将我的整个电脑用户目录上传到Github。我该如何阻止它

[英]Uploaded my entire computer User directory to Github. How can I stop it

I stuffed up on Github in my first 5 min.我在前 5 分钟内塞满了 Github。 Tried to setup a sync folder and accidentaly syncronized my entire user folder 85Gb!试图设置同步文件夹并意外同步了我的整个用户文件夹 85Gb!

Q) How do I stop it from syncronising that folder and change it to a subfolder?问)如何阻止它同步该文件夹并将其更改为子文件夹? (I think I also need to remove all those files from Github:-) (我想我还需要从 Github 中删除所有这些文件:-)

I used "add."我用了“添加”。 Not "commit" checked using Git Gui "Disk space used by loose objects 6641381 KiB"未“提交”使用 Git Gui 检查“松散对象使用的磁盘空间 6641381 KiB”

Thanks in advance James在此先感谢詹姆斯

I'm afraid to try anything else as I might delete both the upload and what is on my computer as itv is syncronised!我不敢尝试其他任何东西,因为我可能会删除上传的内容和我电脑上的内容,因为它是同步的!

If you just git Add.如果你只是git Add. instead of git commit , you can type this command:而不是git commit ,您可以键入以下命令:

git reset

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我在 Github 上上传了我的 html、css 和图像文件。 当我在我的 Github 页面上查看网站时,图像不像本地那样显示,仅显示为图标 - I uploaded my html, css and image files on Github. When I view the website on my Github page, the images do not show as they do locally, only as icons 为什么我不能在 github 上推送我的文件。 它表明我没有正确的访问权限或回购协议不存在。 我该如何解决这个问题? - Why can't i push my files on github. It shows that i don't have the correct access rights or the repo doesn't exist. How can i resolve this? 我如何为 github 设置到我的计算机的 ssh? - How can i set up the ssh to my computer for github? 在Github上创建新存储库时出现错误404。 怎么修? - I've got an error 404 while creating my new repository on Github. How to fix? 如何停止在 GitHub 上克隆我的应用程序文件? - How can I stop cloning my application files on GitHub? 在 GitHub 中发布网站时出现问题。 GitHub Pages 对我来说是不同的。 跟不上教程 - Problems publishing a website in GitHub. GitHub Pages is different on my end. Can't follow along tutorials 我正在尝试通过 git(命令行)从我的电脑中提取一个项目到 github。 但我无法从 github 获得链接 - I'm trying to pull a aproject from my pc via git (command line) to github. but I can't get the link from github 如何在目录库中添加目录树? - How can I add a directory tree to my github repo? 如何将我的代码从 github 拉到我的 vs 代码/计算机上? - How can I pull my code from github on to my vs code/computer? 我的 Cloudflare 防火墙规则正在阻止来自 Github 的请求。 我需要绕过自定义 URL - My Cloudflare firewall rule are blocking request from Github. I need bypass a custom URL
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM