Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

añadir guia instalar git #255

Merged
merged 3 commits into from
Oct 9, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added images/guias/git/git_install.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion pages/guias/colaborar.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,14 @@ asegúrate que Python esté en tu ``PATH`` o instala la versión adecuada.
si el resultado de los pasos anteriores tuviste éxito haciéndolo con ``python3``,
debes usar ese comando.




Obteniendo el proyecto
######################

El proyecto está bajo el sistema de control de versiones Git y alojado en GitHub,
puedes descargar Git desde https://git-scm.com/download. Para verificar que tienes Git en tu sistema ejecuta el siguiente comando en una terminal
puedes descargar Git desde https://git-scm.com/download , o seguir nuestra `guía de instalación de Git <link://filename/pages/guias/git.rst>`__. Para verificar que tienes Git en tu sistema ejecuta el siguiente comando en una terminal
(ventana de comandos):

.. code:: bash
Expand Down
61 changes: 61 additions & 0 deletions pages/guias/git.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
.. title: Instalar Git
.. slug: git
.. type: text
.. template: pagina.tmpl

Instalar Git en Ubuntu/Debian
-----------------------------
Antes de instalar es recomendable ejecutar las actualizaciones de paquetes del sistema operativo, por ende abrimos una terminal y ejecutamos lo siguiente:

Para actualizar los repositorios.

.. code:: console

$ sudo apt-get update

Para actualizar los paquetes en el sistema.

.. code:: console

$ sudo apt-get upgrade

Luego procedemos a instalar git con el comando install.

.. code:: console

$ sudo apt-get install git

Este comando instalará git y sus paquetes necesarios.

.. image:: /images/guias/git/git_install.png
:align: center

|

Comprobamos que se haya instalado correctamente con:

.. code:: console

$ sudo git --version
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$ sudo git --version
$ git --version

no es necesario correg git con sudo

git version 2.25.1

Instalar Git en Fedora
----------------------
Instalar mediante DNF (o Yum en versiones mas antiguas de Fedora)

.. code:: console

$ sudo dnf install git
o
$ sudo yum install git

Comprobamos que se haya instalado correctamente con:

.. code:: console

$ sudo git --version
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$ sudo git --version
$ git --version

git version 2.25.1




Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change