/
git-startup.txt
52 lines (39 loc) · 1.61 KB
/
git-startup.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
$ ssh-keygen.exe
Generating public/private rsa key pair.
Enter file in which to save the key (~/.ssh/id_rsa):
Created directory '~/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in ~/.ssh/.ssh/id_rsa.
Your public key has been saved in ~/.ssh/.ssh/id_rsa.pub.
The key fingerprint is:
ad:0a:9a:c4:55:8f:95:bc:3e:1b:8b:83:f8:4b:eb:ea mark@macbook
$ git clone git@github.com:markfh/Github-initial.git
Cloning into Github-initial...
The authenticity of host 'github.com (207.97.227.239)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of known hosts.
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (3/3), done.
$ ls
Github-initial
$ cd Github-initial/
$ touch your_name.txt
$ git add your_name.txt
$ git commit -am "startup for a git project"
[master 61ba077] startup for a git project
0 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 git-startup.txt
$ git commit -a -m "startup for a git project"
[master 0eb38ac] startup for a git project
1 files changed, 34 insertions(+), 0 deletions(-)
$ git push origin master
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 1.34 KiB, done.
Total 8 (delta 3), reused 0 (delta 0)
To git@github.com:markfh/Github-initial.git
4dcdad0..0406bdb master -> master