terça-feira, 4 de agosto de 2020

#Template GITHub

Case: Criar o diretório devx e iniciar o git, com o diretório html2 citado abaixo.
Depois de Criado o repositório remoto html2 # https://github.com/rodrigorootrj/html2
#mkdir devx
#cd devx
#git clone https://github.com/rodrigorootrj/html2

Case2:Subir um projeto local para o git https://github.com/rodrigorootrj/html3
#mkdir devx
#cd devx
#git init
#git remote add origin git@github.com:rodrigorootrj/html3.git
#>index.html
#git add .
#git commit -m 'none'
#git push -u origin master

git config credential.helper store #Armazenar Senha.
#Conflito
git pull origin master
git push -u origin master
#Remover Arquivo bla
git rm bla
git push -u origin master

#Problema de Conecção.

#Histórico
460  mkdir 04.dev/
  461  cd 04.dev/
  462  ls
  463  git init
  464  >index.html
  465  git add .
  466  git commit -m "first commit"
  467  git remote add origin git@github.com:rodrigorootrj/html4.git
  468  git push -u origin master