Skip to content

escuelaweb/curso-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

curso-git

Repositorio para el curso de Git

Recordar siempre al crear un proyecto en Git

Command line instructions

Git global setup

git config --global user.name "Mi Usuario"

git config --global user.email "[email protected]"

Create a new repository

git clone [email protected]:curso-git/nuestro-proyecto.git

cd nuestro-proyecto

touch README.md

git add README.md

git commit -m "add README"

git push -u origin master

Existing folder

cd existing_folder

git init

git remote add origin [email protected]:curso-git/nuestro-proyecto.git

git add .

git commit -m "Initial commit"

git push -u origin master

Existing Git repository

cd existing_repo

git remote rename origin old-origin

git remote add origin [email protected]:curso-git/nuestro-proyecto.git

git push -u origin --all

git push -u origin --tags

About

Repositorio para el curso de Git

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published