在日常学习中,经常需要提交代码到github,为了方便,整理如下。
1. 注册github账户 https://github.com/
2. 下载git客户端,下载地址: https://git-for-windows.github.io/
1. 进入Github首页,点击New repository新建项目,copy链接备用,过程如图:
2. 本地文件夹中,右键选择git bash here
git add .
原文:https://www.cnblogs.com/carrielu/p/13902484.html