git使用笔记
来源:互联网 发布:软件批量卸载 编辑:程序博客网 时间:2024/06/07 15:51
git gui
1、在远程创建库,得到一个远程仓库地址;
2、在本地项目根目录文件夹,右击->Git Init Here 创建本地仓库;
3、在本地项目根目录文件夹,右击->Git Gui,remote -> add,名字:projectname,location:https:~/projectname.git,点击Add;
4、remote -> fether;
5、扫描,缓存改动,提交;
6、上传 -> 勾选强制覆盖,点击上传;
7、OK,项目被上传至远程仓库了;
8、从远程克隆,修改,提交,上传;
git bash
1. create a local repo, assumming you have a project that is programing, git init at the root directory of the project;
$git init
$git add -A
$git commit -m "a commit message"
2. upload it to remote repo, assumming you have a remote repo,https://git.~~~.com/path/gitname.git
$git remote add origin https://git.~~~.com/path/gitname.git (origin is a label)
$git fetch origin
$git merge origin/master
$git push origin master
and then, hope you upload your project to a remote repo successfully!
- git - git 命令使用笔记
- git使用笔记
- git使用笔记
- git 安装使用笔记
- Git使用笔记
- Git使用笔记
- GIT使用笔记
- Git使用笔记(一)
- git使用笔记【转】
- git使用笔记
- git 安装使用笔记
- git使用笔记
- git使用笔记
- Git使用笔记
- git 使用笔记
- git使用笔记
- git 使用笔记
- Git使用笔记
- 拓扑排序介绍
- poj 1254 Hansel and Grethel 直线求交
- Windows服务器系统入侵简单流程
- string::npos的大小
- lightoj1056Olympics
- git使用笔记
- java用list实现约瑟夫环问题
- 使用py matlib求解函数
- 使用 CAS 在 Tomcat 中实现单点登录
- 10.08JAVA学习
- 算法导论12章二叉搜索树 思考题总结
- c++ notes
- 渐进增强
- PopupWindow在android5.0以上底部弹出在虚拟按键下方的解决