GIT: mudanças entre as edições

De Wiki Clusterlab.com.br
Ir para navegação Ir para pesquisar
 
Linha 18: Linha 18:
git pull origin master
git pull origin master
</pre>
</pre>
=Remember password=
<pre>
git config --global credential.helper store
</pre>
=Commands=
=Commands=
==List files==
==List files==

Edição das 16h37min de 17 de dezembro de 2019

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