Git
GitHub es una plataforma basada en la nube sobre la cual es posible almacenar, compartir y trabajar junto con otros usuarios para escribir código.
- Almacenar tu código en un "repositorio" en GitHub te permite lo siguiente:
- Presentar o compartir el trabajo.
- Seguir y administrar los cambios en el código a lo largo del tiempo.
- Dejar que otros usuarios revisen el código y realicen sugerencias para mejorarlo.
- Colaborar en un proyecto compartido, sin preocuparse de que los cambios afectarán al trabajo de los colaboradores antes de que esté listo para integrarlos.
- El trabajo colaborativo, una de las características fundamentales de GitHub, es posible gracias al software de código abierto Git, en el que se basa GitHub.
Dicha herramienta ha fortalecido las corrientes colaborativas de los desarrolladores para construir proyectos de software en conjunto sin limitaciones por parte de los software de tipo comercial.
Antes de instalar, digitamos en PowerShell:
scoop
Para validar que Scoop está instalado, en PowerShell debe aparecer:
```powershell=
Usage: scoop <command> [<args>]
Available commands are listed below.
Type 'scoop help <command>' to get more help for a specific command.
Command Summary
------- -------
alias Manage scoop aliases
bucket Manage Scoop buckets
cache Show or clear the download cache
cat Show content of specified manifest.
checkup Check for potential problems
cleanup Cleanup apps by removing old versions
config Get or set configuration values
create Create a custom app manifest
depends List dependencies for an app, in the order they'll be installed
download Download apps in the cache folder and verify hashes
export Exports installed apps, buckets (and optionally configs) in JSON format
help Show help for a command
hold Hold an app to disable updates
home Opens the app homepage
import Imports apps, buckets and configs from a Scoopfile in JSON format
info Display information about an app
install Install apps
list List installed apps
prefix Returns the path to the specified app
reset Reset an app to resolve conflicts
search Search available apps
shim Manipulate Scoop shims
status Show status and check for new app versions
unhold Unhold an app to enable updates
uninstall Uninstall an app
update Update apps, or Scoop itself
virustotal Look for app's hash or url on virustotal.com
which Locate a shim/executable (similar to 'which' on Linux)
Para hacer la instalación, y una vez habilitadas las políticas de ejecución y la instalación remota desde Scoop, se aplica la siguiente instrucción en PowerShell:
scoop install git