Skip to content

DavidWang673/Git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

一、 安装git for windows

https://git-scm.com/download/win 一路回车

二、 配置SSH连接GitHub

右键菜单,打开git bash
输入 ssh-keygen 一路回车
复制id_rsa.pub公钥内容到github(Settings--> SSH and GPG keys--> new SSH key)

三、 命令

从GitHub拉取项目到本地: git clone
从本地push到GitHub: git remote add origin https://github.com/******.git
    git push -u origin master

如需修改,直接在本地修改,
然后 git add 文件名,
其次 git commit -m "修改信息提示"
最后 git push(不加参数,前提是git remote add origin https://github.com/******.git 命令执行且未断离开)

About

Introductions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published