DESAFIO 01 - Crie um novo repositório remoto no Github e insira um arquivo.
https://github.com/FreeAnd10/AndFree10
DESAFIO 02 - Faça um clone do seu repositório remoto para o local.
git clone https://github.com/FreeAnd10/AndFree10.git
DESAFIO 03 - Faça uma nova modificação no repositório remoto.
Passos: Criação do app.js no local e atualizado no repositório remoto.
PS E:\Projetos_Git\AndFree10> git status
On branch main
Your branch is up to date with 'origin/main'.
Untracked files:
(use "git add ..." to include in what will be committed)
app.js
nothing added to commit but untracked files present (use "git add" to track)
PS E:\Projetos_Git\AndFree10> git add .
PS E:\Projetos_Git\AndFree10> git status
On branch main
Your branch is up to date with 'origin/main'.
Changes to be committed:
(use "git restore --staged ..." to unstage)
new file: app.js
PS E:\Projetos_Git\AndFree10> git commit -m "criação do app.js"
[main 5d2c27f] criação do app.js
1 file changed, 3 insertions(+)
create mode 100644 app.js
PS E:\Projetos_Git\AndFree10> git status
On branch main
Your branch is ahead of 'origin/main' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
PS E:\Projetos_Git\AndFree10> git add .
PS E:\Projetos_Git\AndFree10> git push origin main
Enumerating objects: 4, done.
Counting objects: 100% (4/4), done.
Delta compression using up to 4 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 434 bytes | 434.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
To https://github.com/FreeAnd10/AndFree10.git
1061e62..5d2c27f main -> main
PS E:\Projetos_Git\AndFree10> ls
Diretório: E:\Projetos_Git\AndFree10
Mode LastWriteTime Length Name
-a---- 02/08/2025 17:28 68 .gitattributes
-a---- 02/08/2025 17:47 125 app.js
-a---- 02/08/2025 17:28 85 README.md
DESAFIO 04 - Atualize seu repositório local a partir do Remoto.
PS E:\Projetos_Git\AndFree10> git repo origin main
DESAFIO 05 - Utilize o comando git remote -v no terminal.
PS E:\Projetos_Git\AndFree10> git remote -v
origin https://github.com/FreeAnd10/AndFree10.git (fetch)
origin https://github.com/FreeAnd10/AndFree10.git (push)
DESAFIO 06 - Confira as mudanças nos arquivos.
origin https://github.com/FreeAnd10/AndFree10.git (fetch)
origin https://github.com/FreeAnd10/AndFree10.git (push)