[git] git start command
来源:互联网 发布:mac原版系统下载 编辑:程序博客网 时间:2024/06/05 05:22
Global setup:
Set up git
git config --global user.name "Your Name"
git config --global user.email huang.gadela@gmail.com
Next steps:
mkdir test
cd test
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin https://github.com/sitoto/test.git
git push -u origin master
Existing Git Repo?
cd existing_git_repo
git remote add origin https://github.com/sitoto/test.git
git push -u origin master
Importing a Subversion Repo?
Check out the guide for step by step instructions.
When you're done:
Continue
===========================================
error:
error: The requested URL returned error: 403 while accessing https://github.com/dd/test.git/info/refs
fatal: HTTP request failed
=============================
原因:authenticity of host 'github.com (207.97.227.239)' can't be established
RSA key fingerprint 。。。。。。
解决:
git remote set-url origin git@github.com:dd/test.git
会提示 加入 github.com 到 list of known hosts
Set up git
git config --global user.name "Your Name"
git config --global user.email huang.gadela@gmail.com
Next steps:
mkdir test
cd test
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin https://github.com/sitoto/test.git
git push -u origin master
Existing Git Repo?
cd existing_git_repo
git remote add origin https://github.com/sitoto/test.git
git push -u origin master
Importing a Subversion Repo?
Check out the guide for step by step instructions.
When you're done:
Continue
===========================================
error:
error: The requested URL returned error: 403 while accessing https://github.com/dd/test.git/info/refs
fatal: HTTP request failed
=============================
原因:authenticity of host 'github.com (207.97.227.239)' can't be established
RSA key fingerprint 。。。。。。
解决:
git remote set-url origin git@github.com:dd/test.git
会提示 加入 github.com 到 list of known hosts
0 0
- [git] git start command
- Git Command
- Git Command
- git command
- git command
- Git Command
- git command
- git command
- Git command
- Git command
- git command
- Git Command
- git-command
- [git]git export like command
- Git-Getting start
- git@ubuntu-start!
- My start of git
- start Git on window7
- 彭丽媛陪同米歇尔及家人参观故宫
- Java基础---Java---基础加强---内省的简单运用、注解的定义与反射调用、 自定义注解及其应用、泛型及泛型的高级应用、泛型集合的综合
- CSS Float
- 求两个排序数组的中位数
- opencv2 椒盐噪点salt
- [git] git start command
- 网站图片处理
- 彭丽媛出席世界防治结核病日宣传活动(组图)
- LeetCode Solution(持续更新,java>c++)
- 用JAVA写一个函数交换两个数字
- MTK 智能手机平台原生应用介绍
- 第二周作业
- PB 数据窗口DW处理图片等大文本字段
- 黑马程序员_OC中的分类(Category)的使用