GIT

De Wiki Clusterlab.com.br
Revisão de 16h37min de 17 de dezembro de 2019 por Damato (discussão | contribs) (→‎Pull a repository)
Ir para navegação Ir para pesquisar

create a new repository on the command line

echo "# JAVALEARN" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/rocko83/JAVALEARN.git
git push -u origin master

push an existing repository from the command line

git remote add origin https://github.com/rocko83/JAVALEARN.git
git push -u origin master

Pull a repository

git pull origin master

Remember password

git config --global credential.helper store

Commands

List files

git ls-files

Bisu da Atlassian