Inicializar el repositorio github

Ejemplos de código

12
0

enviar código a la línea de comandos de github

git add .
git commit -m "message for the commit"
git remote add origin https://url-of-github-repo
git push origin master
2
0

crear un nuevo repositorio en la línea de comandos

git init
git add README.MD
git commit -m "commit message"
git remote add origin git url_of_github_repo
git push origin master
0
0

inicializar el repositorio github

$git init
$git config --global user.email "your email"
$git config --global user.name "Your name"
$git remote add origin https://github.com/username/new_repo(Can be copied from github directly)
$git push -u origin master

En otros idiomas

Esta página está en otros idiomas

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................