forked from robertoesteban/Sistema-de-Bodega
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
82 lines (55 loc) · 2.18 KB
/
README
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
Sistema de Bodega
=================
Este documento contiene informacion general acerca del Sistema de Bodega para la Municipalidad de Puerto Montt
Configuracion de Git con GitHub
==============================
Proyecto: Sistema de Bodega
Configurar las variables globales
---------------------------------
git config --global color.diff auto
git config --global color.status auto
git config --global color.branch auto
git config --global color.interactive auto
git config --global alias.st status
git config --global alias.ci commit
git config --global alias.br branch
git config --global user.name "Username"
git config --global user.email [email protected]
Generar SSh Keys (linux)
=======================
$ cd ~/.ssh
$ ssh-keygen -t rsa -C "[email protected]"
Generating public/private rsa key pair.
Enter file in which to save the key (/home/username/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/username/.ssh/id_rsa.
Your public key has been saved in /home/username/.ssh/id_rsa.pub.
The key fingerprint is:
01:0f:f4:3b:ca:85:d6:17:a1:7d:f0:68:9d:f0:a2:db [email protected]
$ sudo yum install xclip
$ cat ~/.ssh/id_rsa.pub | xclip -sel clip
Agregar la llave publica en GitHub (dentro de tu sesion)
https://github.com/account#ssh_bucket
Probando la llave
---------------
$ ssh [email protected]
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.
ERROR: Hi tekkub! You've successfully authenticated, but GitHub does not provide shell access
Connection to github.com closed.
Agregar README al Proyecto
===========================
$ mkdir Sistema-de-Bodega
$ cd Sistema-de-Bodega
$ git init
$ touch README
$ git add README
$ git commit -m "first commit"
$ git remote add origin [email protected]:Usuario/Sistema-de-Bodega.git
$ git push origin master
Links con documentación:
=======================
- Generacioon de llave SSH http://help.github.com/linux-key-setup/