- 1:
https://github.com/Marcos-Peter/my_first_steps.git
- 2:
mkdir my_first_steps
git init
git config --global user.email "mpeterlobato@gmail.com"
git config --global user.name "Marcos Peter"
git branch -M main
git remote add origin https://github.com/Marcos-Peter/my_first_steps.git
-
3:
echo "Hello World! Esta é a primeira atividade de Git do Alpha Edtech - Turma 2" >> ola_mundo.txt
git add .
git commit -m "My first steps of Git with Alpha Edtech"
git status
git push -u origin main -
4:
echo "Um texto qualquer a ser ignorado" >> serei_ignorado.txt
echo "serei_ignorado.txt" >> .gitignore
git add .
git commit -m "Testing the .gitignore file"
git status
git push -u origin main -
5:
echo "# PRIMEIRA ATIVIDADE DE GIT DO ALPHA EDTECH TURMA 2" >> README.MD
git add .
git status
git commit -m "Adding the commands used to perform the activities"
git push -u origin main