Skip to content

a1b4/Sistema-de-Bodega

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

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/


About

Sistema de Bodega Municipal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published