Já dei o comando de add, de push, mas só o arquivo index.html está no Github.
DAVI@DESKTOP-2KCTVL6 MINGW64 ~/Desktop/Programação/Faculdade (master)
$ git push -u origin main
error: src refspec main does not match any
error: failed to push some refs to 'github.com:DaviBertassoneSPKirisawa/Exercises---Programming_Laboratory.git'
DAVI@DESKTOP-2KCTVL6 MINGW64 ~/Desktop/Programação/Faculdade (master)
$ git status
On branch master
Untracked files:
(use "git add <file>..." to include in what will be committed)
.vscode/
Hello World.c
output/
questao1.c
questao10.c
questao11.c
questao12.c
questao13.c
questao14.c
questao2.c
questao3.c
questao4.c
questao5.c
questao6.c
questao7.c
questao8.c
questao9.c
nothing added to commit but untracked files present (use "git add" to track)
DAVI@DESKTOP-2KCTVL6 MINGW64 ~/Desktop/Programação/Faculdade (master)
$ git add .
warning: in the working copy of '.vscode/tasks.json', LF will be replaced by CRLF the next time Git touches it
DAVI@DESKTOP-2KCTVL6 MINGW64 ~/Desktop/Programação/Faculdade (master)
$ git push -u origin main
error: src refspec main does not match any
error: failed to push some refs to 'github.com:DaviBertassoneSPKirisawa/Exercises---Programming_Laboratory.git'
DAVI@DESKTOP-2KCTVL6 MINGW64 ~/Desktop/Programação/Faculdade (master)
$ git status
On branch master
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
new file: .vscode/settings.json
new file: .vscode/tasks.json
new file: Hello World.c
new file: output/Hello World.exe
new file: output/lista1.exe
new file: output/questao1.exe
new file: output/questao10.exe
new file: output/questao11.exe
new file: output/questao12.exe
new file: output/questao13.exe
new file: output/questao14.exe
new file: output/questao2.exe
new file: output/questao3.exe
new file: output/questao4.exe
new file: output/questao5.exe
new file: output/questao6.exe
new file: output/questao7.exe
new file: output/questao8.exe
new file: output/questao9.exe
new file: questao1.c
new file: questao10.c
new file: questao11.c
new file: questao12.c
new file: questao13.c
new file: questao14.c
new file: questao2.c
new file: questao3.c
new file: questao4.c
new file: questao5.c
new file: questao6.c
new file: questao7.c
new file: questao8.c
new file: questao9.c
DAVI@DESKTOP-2KCTVL6 MINGW64 ~/Desktop/Programação/Faculdade (master)
$ git branch -M main
git push -u origin main
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Writing objects: 100% (3/3), 226 bytes | 226.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
To github.com:DaviBertassoneSPKirisawa/Exercises---Programming_Laboratory.git
* [new branch] main -> main
branch 'main' set up to track 'origin/main'.
DAVI@DESKTOP-2KCTVL6 MINGW64 ~/Desktop/Programação/Faculdade (main)
$ git status
On branch main
Your branch is up to date with 'origin/main'.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
new file: .vscode/settings.json
new file: .vscode/tasks.json
new file: Hello World.c
new file: output/Hello World.exe
new file: output/lista1.exe
new file: output/questao1.exe
new file: output/questao10.exe
new file: output/questao11.exe
new file: output/questao12.exe
new file: output/questao13.exe
new file: output/questao14.exe
new file: output/questao2.exe
new file: output/questao3.exe
new file: output/questao4.exe
new file: output/questao5.exe
new file: output/questao6.exe
new file: output/questao7.exe
new file: output/questao8.exe
new file: output/questao9.exe
new file: questao1.c
new file: questao10.c
new file: questao11.c
new file: questao12.c
new file: questao13.c
new file: questao14.c
new file: questao2.c
new file: questao3.c
new file: questao4.c
new file: questao5.c
new file: questao6.c
new file: questao7.c
new file: questao8.c
new file: questao9.c