Skip to content

Commit

Permalink
Update update-date.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
robson-cruz authored Feb 7, 2024
1 parent 9978cf3 commit 877d4b7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions update-date.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ fi
echo "Data atualizada no README.md com sucesso!"

# Autenticação no Repositório
git remote set-url origin git remote set-url origin https://github.com/rcDeveloping/endangeredBrazilianPlantSpecies.git
#git remote set-url origin git remote set-url origin https://github.com/rcDeveloping/endangeredBrazilianPlantSpecies.git

# Configura o nome e o email do usuário do Git
git config --global user.email rcflorestal@yahoo.com.br
git config --global user.name rcDeveloping
#git config --global user.email rcflorestal@yahoo.com.br
#git config --global user.name rcDeveloping

# Atualiza o repositório local com as alterações remotas
git pull https://github.com/rcDeveloping/endangeredBrazilianPlantSpecies.git main
#git pull https://github.com/rcDeveloping/endangeredBrazilianPlantSpecies.git main

# Adiciona as alterações ao commit
git add README.md
#git add README.md

# Realiza o commit das alterações com uma mensagem descritiva
git commit -m "Atualizar data no README"
#git commit -m "Atualizar data no README"

# Faz o push das alterações para o repositório remoto
git push https://github.com/rcDeveloping/endangeredBrazilianPlantSpecies.git main
#git push https://github.com/rcDeveloping/endangeredBrazilianPlantSpecies.git main

0 comments on commit 877d4b7

Please sign in to comment.