DES:Git

(Diferença entre revisões)
Ir para: navegação, pesquisa
Linha 4: Linha 4:
 
   git config --global user.email "tiago.sippert@unioeste.br"
 
   git config --global user.email "tiago.sippert@unioeste.br"
 
   git config --global credential.helper store
 
   git config --global credential.helper store
 +
 +
* Quando trocar a senha e não logar mais, basta executar as três linhas acima novamente e vai pedir as credenciais novamente.
  
 
Baixar o projeto
 
Baixar o projeto

Edição de 08h25min de 23 de setembro de 2015

Configurar usuário para commit/push (Utilizar nome completo e email/usuário da Unioeste)

 git config --global user.name "Tiago Alexandre Schulz Sippert"
 git config --global user.email "tiago.sippert@unioeste.br"
 git config --global credential.helper store
  • Quando trocar a senha e não logar mais, basta executar as três linhas acima novamente e vai pedir as credenciais novamente.

Baixar o projeto

 git clone http://netsr-vers01.unioeste.br:82/java-project/academus.git --recursive


Inicializar um projeto

 git clone http://netsr-vers01.unioeste.br:82/java-project/pwm-unioeste.git temp
 cd temp
 git archive -o ..\temp.zip HEAD | unzip ..\temp.zip -d ..\new
 cd ..
 rm temp.zip
 rm -R -f temp
 cd new
 git init
 git remote add origin http://netsr-vers01.unioeste.br:82/java-project/base-project.git
 git push -u origin master 

 
 git submodule add URL_DA_BIBLIOTECA.git DIRETORIO_DESTINO


Explicar:

 -o que tem em cada arquivo .git (gitmodule,gitignore,etc)
 -como funciona os submodulos
Ferramentas pessoais
Espaços nominais
Variantes
Ações
Navegação
Ferramentas