Use github as remote repository for Git in windows
来源:互联网 发布:淘宝女包2016新款上市 编辑:程序博客网 时间:2024/06/05 23:51
1. config ssh key
ssh-keygen -t rsa -C "email_adress"
2. test your connection to git
ssh -T git@github.com
3. build local git repository
git config --global user.name ""
git config --global user.email ""
4.add your project to github for management
git remote add origin git@github.com:XXX/XXX.git
git push -u origin master
5 (for the project already exist in github)config local setting to use "git push -u origin master"
5.1git remote add -f origin login@git.sv.gnu.org:/srv/git/project.git
5.2git config branch.master.remote origin
//这一步 设置: 把 master 分支上 的 默认服务器地址 设为 origin指向的地址
5.3git config branch.master.merge refs/heads/master
//这一步 设置:如果当前分支是 master 分支,那么 git pull之后,直接 把 “从 origin 下载 下来的 code合并到 master分支上“或者加上--global选项,对于全部项目都使用该配置。
- Use github as remote repository for Git in windows
- Interactive between local repository and remote repository in git
- clone repository in git shell under windows
- Git Init repository for remote terminal and change the remote master
- git for windows还是github for windows?
- Git-for-windows连接github
- git No remote repository specified
- git remote: Repository not found.
- Make Cool Use of Windows Remote Desktop In XP
- git 中github clone "Permission denied (publickey). fatal: Could not read from remote repository."
- 【Git & GitHub】解决办法:Could not read from remote repository.Please make sure you have the...
- 解决 :android studio 提交代码到git/github失败 Could not read from remote repository
- Git: Setup a remote Git repository
- github windows 新建repository
- GitHub for windows出现remote origin already exists问题
- git 提交代码remote: error:updating the current branch in a non-bare repository is denied
- Windows平台下IDEA中git出现could not read from remote repository解决方案
- windows下Idea使用git clone failed. Could not read from remote repository
- Pycharm+Scrapy安装并且初始化项目
- 希望自己能把C#,.net,Asp.net学好学精通。
- 【Scikit-Learn 中文文档】线性和二次判别分析
- react默认路由中的一个bug
- 算法训练 6-1 递归求二项式系数值
- Use github as remote repository for Git in windows
- Leetcode 70. Climbing Stairs
- 关于断点续传和greendao一起使用
- 代理ip的爬虫实现
- 云计算时代的进阶者,专访景安董事长杨小龙
- 使用JSP+Servlet+Jdbc+Echatrs实现对豆瓣电影Top250的展示
- [NOIP] 记NOIP2017
- restful最佳实践--接口规范
- 【JS】观察者模式