forked from USTC-Resource/USTC-Course
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
8 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,37 +31,6 @@ | |
# 资料下载 | ||
[戳我(●'◡'●)](https://ustc-resource.github.io/USTC-Course) | ||
|
||
<!-- | ||
## FTP | ||
1. FTP/FTPS: | ||
- 地址:ftp.ustclug.org; | ||
- 路径:/ebook/USTC-CS-Courses-Resource; | ||
- 用户名:ftp; | ||
- 密码:ftp; | ||
2. SFTP (Secure File Transfer Protocol): | ||
- 地址:ftp.ustclug.org; | ||
- 路径:/ebook/USTC-CS-Courses-Resource; | ||
- 用户名:ftp; | ||
- 密码:ftp; | ||
3. AFP (Apple Filing Protocol) | ||
- 地址:afp://ftp.ustclug.org/; | ||
- 路径:/ebook/USTC-CS-Courses-Resource; | ||
- Connect As Guest | ||
感谢 @USTC-LUG, @[zzh1996](https://github.com/zzh1996), @[volltin](https://github.com/volltin) | ||
## HTTPS | ||
- [github 网页](#课程目录) | ||
- [DownGit](http://downgit.zhoudaxiaa.com/#/home) | ||
- [gitzip-chrome-extension](https://chrome.google.com/webstore/detail/gitzip-for-github/ffabmkklhbepgcgfonabamgnfafbdlkn) | ||
注意,建议不要直接用 GitHub 仓库的 `Download Zip`。因为网速慢,而且仓库很大,很可能下载到中途就切断连接了。 | ||
推荐用 DownGit 工具,方法很简单,在 GitHub 这里浏览网页到某个文件夹,然后将这个网页地址粘贴到 DownGit 下载即可。 | ||
--> | ||
|
||
# 课程结构 | ||
每门课程大致结构如下,有些栏目可能没有,也可以自己添加认为合理的栏目 | ||
``` | ||
|
@@ -104,16 +73,18 @@ course | |
* [微机原理与系统](./微机原理与系统) | ||
|
||
# 贡献投稿 | ||
[这里是](https://github.com/USTC-Resource/USTC-Course/graphs/contributors) GitHub commit 贡献名单 | ||
内容创作者包括: | ||
## [GitHub Commit](https://github.com/USTC-Resource/USTC-Course/graphs/contributors) | ||
[](https://sourcerer.io/fame/mbinary/USTC-Resource/USTC-Course/links/0)[](https://sourcerer.io/fame/mbinary/USTC-Resource/USTC-Course/links/1)[](https://sourcerer.io/fame/mbinary/USTC-Resource/USTC-Course/links/2)[](https://sourcerer.io/fame/mbinary/USTC-Resource/USTC-Course/links/3)[](https://sourcerer.io/fame/mbinary/USTC-Resource/USTC-Course/links/4)[](https://sourcerer.io/fame/mbinary/USTC-Resource/USTC-Course/links/5)[](https://sourcerer.io/fame/mbinary/USTC-Resource/USTC-Course/links/6)[](https://sourcerer.io/fame/mbinary/USTC-Resource/USTC-Course/links/7) | ||
|
||
## 内容创作者 | ||
- mbinary | ||
- Lyncien | ||
- kingzevin | ||
- ksqsf | ||
- cclauss | ||
- 吴颖文 | ||
- 童世炜 | ||
- 熊家靖 | ||
|
||
如果遗漏了你的名字,可自行 PR 或者联系贡献者。 | ||
|
||
|
@@ -122,31 +93,3 @@ course | |
* github 上不能直接上传大于 100mb 的文件。对于超过 100 mb 的文件,可以存在网盘,然后在 README 文件中贴上链接 | ||
* 文件内容的改动会使 git 重新上传, 在没有必要的情况下, 不要对二进制文件做任何更改. | ||
|
||
<!-- | ||
可以通过如下方式贡献 | ||
- 帮忙上传: 可以发给仓库维护者帮忙上传,或者提 issue | ||
- 用网页操作或者[桌面版](https://desktop.github.com/) fork and pull request. 操作方式可以参考 [这里](https://blog.csdn.net/qq_29277155/article/details/51048990) 和[这里](https://blog.csdn.net/zhangw0_0/article/details/50667891),[PR](https://blog.csdn.net/huutu/article/details/51018317) | ||
- 用命令行: 注意仓库较大,直接 clone 很慢. 可以使用 sparse-checkout, 只下载指定的目录 | ||
执行 | ||
```shell | ||
mkdir ustc-courses #文件夹名可以自己取 | ||
cd ustc-courses | ||
git init | ||
git remote add -f origin [email protected]:mbinary/USTC-CS-Courses-Resource.git | ||
git config core.sparsecheckout true | ||
echo "计算机与信息类/软件工程" >> .git/info/sparse-checkout #这里工作目录就是在那个 repo 主页下 | ||
#如果还有其他目录,都像上面一样加入即可,如 `echo "计算机与信息类/图论/slides" >> .git/info/sparse-checkout` | ||
#只需记住的是 加入的目录应该在远程仓库存在,否则报错“error: Sparse checkout leaves no entry on the working directory” | ||
git pull origin master | ||
git remote add upstream [email protected]:mbinary/USTC-CS-Courses-Resource.git | ||
``` | ||
更新内容后 | ||
```shell | ||
git fetch upstream/master | ||
git merge upstream/master | ||
``` | ||
--> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.