Skip to content

principleWindows/gitMem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use github and gitee to manage your git repositories

For Chinese version please go to 切换到中文版

https://github.com/principleWindows/gitMem

https://gitee.com/principlewindows/gitMem

F:\teaching\principleWindows\git\gitMem


This is a repository of supplying teaching resource for the courses of CS, Wuhan University

Instructor: Professor Jicheng Hu

Please leave your comment, suggestion, question in the comment feedback or send me emails!

1 git, github and gitee

本课程采用 git 作为项目管理工具并管理课程相关教学、训练及练习资源。 建议大家以 github 作为主要的远程仓库方便获取丰富的程序员社区资源, 而将 gitee 作为备份远程仓库来备份源码以备不时之需。尽量同时采用 github 与 gitee 来保存个人的源码及编码资源。

git 下载地址 https://git-scm.com/downloads

从上述官网下载 git 的最新版本进行缺省安装即可。

1.1 SSH Connection

使用 git 工具来管理项目, 通常会使用 SSH 来连接代码仓库。win11 下如何 安装 SSH client 参见:

win11 安装SSH

生成并使用 ssh-key:

参见 ssh-key

1.2 Push to Remote Repositories

同步本地仓库到 github 与 gitee 的方法参见:

同步推送本地仓库到 gitee 与 github

1.2.1 github

github extension 的安装参见教学幻灯片。

1.2.2 gitee

事实上 github extension 已经可以涵盖 gitee extension 的作用。 gitee 的 VS extension 下载地址:

https://marketplace.visualstudio.com/items?itemName=GiteeInc.GiteeExtension

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published