Github 十分钟上手 (10 minutes Github config)
来源:互联网 发布:如何用艾瑞查数据 编辑:程序博客网 时间:2024/06/08 11:35
1. Create a account in https://github.com/ and create a new repository by clicking "Create a new project"
2. Apt install github in ubuntu, actually you can use different ways in different OS, quite easy.
3. Now you have to config ssh, hopefully installed already, otherwise install it. Check with this:
mickey@ubuntu:~$ ssh
usage: ssh [-1246AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-E log_file] [-e escape_char]
[-F configfile] [-I pkcs11] [-i identity_file] [-L address]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-Q query_option] [-R address] [-S ctl_path] [-W host:port]
[-w local_tun[:remote_tun]] [user@]hostname [command]
Generating public/private rsa key pair.
Enter file in which to save the key (/home/mickey/.ssh/id_rsa):
Created directory '/home/mickey/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/mickey/.ssh/id_rsa.
Your public key has been saved in /home/mickey/.ssh/id_rsa.pub.
The key fingerprint is:
SHAsdfsspEdfdfNsdf6t98+LOIF/Gfu1yM mickey@ubuntu
The key's randomart image is:
+---[RSA 2048]----+
| o.+o+ . |
|+.+o= = o |
|++o..O + |
|o+...oOo |
| .o .+oS |
| ...= |SSH and GPG keys
| .o.o.o . |
| o..=o E o |
| ..o.+=o . . |
+----[SHA256]-----+
mickey@ubuntu:~$ cd ~/.ssh
mickey@ubuntu:~/.ssh$ cat id_rsa.pub
mickey@ubuntu:~/github$ git init
Initialized empty Git repository in /home/mickey/github/.git/
mickey@ubuntu:~/github$ git add -A
mickey@ubuntu:~/github$ git remote add origin https://github.com/xxxxxx/xxx.gitmickey@ubuntu:~/github$ git commit -m “test”
Initial commit
nothing to commit
mickey@ubuntu:~/github$ git push -u origin master
- Github 十分钟上手 (10 minutes Github config)
- 10分钟快速上手github
- GitHub 10分钟教程
- github config
- github 写给小白用户(5分钟上手)
- 10 Minutes to pandas----十分钟搞定Pandas
- 十分钟学会pandas《10 Minutes to pandas》
- Subversion 十分钟上手
- Github 上手 --- 分支
- Github 上手 --- 分支
- 十分钟搞定上传本地项目到github
- 10分钟搞懂git和github
- 十分钟上手Protocol Buffer
- GitHub之新手上手篇
- 参与Github工程-简单上手
- 学习GitHub(四): git config
- 学习GitHub(四): git config
- Protocol Buffers十分钟上手:入门示例
- Docker第一个例子
- Java中,&&与&,||与|的区别
- VS发布c# WPF项目时出现 签名错误 解决办法
- there are no packages available for installation插件安装问题 及解决方法
- DOM
- Github 十分钟上手 (10 minutes Github config)
- logit
- 打造企业级网络请求框架集合retrofit+gson+mvp(一、二)
- xml解析请求DTD错误的解决办法(断网服务器下):org.xml.sax.SAXParseExceptionpublicId
- winform运行一个程序实例
- 关于onItemClick和onItemLongClick同时执行的一般性解决方法
- studio 打包问题
- 初学linux命令-man
- region、az、host aggregate、cell 概念