Skip to content

[软技能] 第70天 本地git与远程仓库连接的方式有哪些? #501

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
haizhilin2013 opened this issue Jun 24, 2019 · 4 comments
Labels
软技能 软技能

Comments

@haizhilin2013
Copy link
Collaborator

第70天 本地git与远程仓库连接的方式有哪些?

@haizhilin2013 haizhilin2013 added the 软技能 软技能 label Jun 24, 2019
@xiangshuo1992
Copy link
Contributor

xiangshuo1992 commented Jun 25, 2019

git remote add origin git@github.com:XXX.git

@dddw001
Copy link

dddw001 commented Jun 25, 2019

第一种,本地新建文件夹 -> git init -> git add . -> git commit -m 'xxx' -> git remote add origin xxx -> git push -u origin master
第二种,直接git clone xxx(ssh链接)-> git add . -> git commit -m 'xxx' -> git push

@Yaonie-Jie
Copy link

  1. git账号密码

  2. ssh

@smile-2008
Copy link

第一种,本地新建文件夹 -> git init -> git add . -> git commit -m 'xxx' -> git remote add origin xxx -> git push -u origin master
第二种,直接git clone xxx(ssh链接)-> git add . -> git commit -m 'xxx' -> git push

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
软技能 软技能
Projects
None yet
Development

No branches or pull requests

5 participants