[英]Merging local git repo changes to a already created github repository
I am new to git. 我是git的新手。 We are converting our project from svn to git.
我们正在将项目从svn转换为git。
We have a github. 我们有一个github。 We started converting demo projects.
我们开始转换演示项目。 I started the conversion process like this
我这样开始转换过程
git svn clone
command in my MAC git svn clone
命令将svn项目转换为git How do I do that? 我怎么做? Or else please suggest me if there is a different way
否则请建议我是否有其他方法
Issuing these commands in your local repository will populate your new github project: 在本地存储库中发出以下命令将填充新的github项目:
git remote add origin https://github.com/user/repo
git push origin master
Replace user/repo
with your github username and the project name. 用您的github用户名和项目名称替换
user/repo
。 You will be asked for your github username and password. 系统将要求您输入github用户名和密码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.