0% found this document useful (0 votes)
29 views

Gitbash Teste

Uploaded by

kathiasantalla9
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

Gitbash Teste

Uploaded by

kathiasantalla9
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

kathi@LAPTOP-QUO7K13F MINGW64 ~/OneDrive/Área de Trabalho/atividade_de_Pi

$ git clone https://github.com/KathiaSantallaRoque/atividade-de-pi.git


Cloning into 'atividade-de-pi'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (3/3), done.

kathi@LAPTOP-QUO7K13F MINGW64 ~/OneDrive/Área de Trabalho/atividade_de_Pi


$ git init
Initialized empty Git repository in C:/Users/kathi/OneDrive/Área de
Trabalho/atividade_de_Pi/.git/

kathi@LAPTOP-QUO7K13F MINGW64 ~/OneDrive/Área de Trabalho/atividade_de_Pi (master)


$ git status
On branch master

No commits yet

Untracked files:
(use "git add <file>..." to include in what will be committed)
atividade-de-pi/

nothing added to commit but untracked files present (use "git add" to track)

kathi@LAPTOP-QUO7K13F MINGW64 ~/OneDrive/Área de Trabalho/atividade_de_Pi (master)


$ git add.

git: 'add.' is not a git command. See 'git --help'.

The most similar command is


add

kathi@LAPTOP-QUO7K13F MINGW64 ~/OneDrive/Área de Trabalho/atividade_de_Pi (master)


$ git add .
warning: adding embedded git repository: atividade-de-pi
hint: You've added another git repository inside your current repository.
hint: Clones of the outer repository will not contain the contents of
hint: the embedded repository and will not know how to obtain it.
hint: If you meant to add a submodule, use:
hint:
hint: git submodule add <url> atividade-de-pi
hint:
hint: If you added this path by mistake, you can remove it from the
hint: index with:
hint:
hint: git rm --cached atividade-de-pi
hint:
hint: See "git help submodule" for more information.

kathi@LAPTOP-QUO7K13F MINGW64 ~/OneDrive/Área de Trabalho/atividade_de_Pi (master)


$ git status
On branch master

No commits yet

Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: atividade-de-pi

Changes not staged for commit:


(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: atividade-de-pi (untracked content)

kathi@LAPTOP-QUO7K13F MINGW64 ~/OneDrive/Área de Trabalho/atividade_de_Pi (master)


$ git add .

kathi@LAPTOP-QUO7K13F MINGW64 ~/OneDrive/Área de Trabalho/atividade_de_Pi (master)


$ git status
On branch master

No commits yet

Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: atividade-de-pi

Changes not staged for commit:


(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: atividade-de-pi (untracked content)

kathi@LAPTOP-QUO7K13F MINGW64 ~/OneDrive/Área de Trabalho/atividade_de_Pi (master)


$ git commit -m "atividade de pi"
[master (root-commit) 1e2661d] atividade de pi
1 file changed, 1 insertion(+)
create mode 160000 atividade-de-pi

kathi@LAPTOP-QUO7K13F MINGW64 ~/OneDrive/Área de Trabalho/atividade_de_Pi (master)


$ git status
On branch master
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: atividade-de-pi (untracked content)

no changes added to commit (use "git add" and/or "git commit -a")

kathi@LAPTOP-QUO7K13F MINGW64 ~/OneDrive/Área de Trabalho/atividade_de_Pi (master)


$ git push
fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using

git remote add <name> <url>

and then push using the remote name

git push <name>

kathi@LAPTOP-QUO7K13F MINGW64 ~/OneDrive/Área de Trabalho/atividade_de_Pi (master)


$ git remote add KathiaSantallaRoque
^[[200~https://github.com/KathiaSantallaRoque/atividade-de-pi~

kathi@LAPTOP-QUO7K13F MINGW64 ~/OneDrive/Área de Trabalho/atividade_de_Pi (master)


$ git remote add KathiaSantallaRoque
https://github.com/KathiaSantallaRoque/atividade-de-pi
error: remote KathiaSantallaRoque already exists.

kathi@LAPTOP-QUO7K13F MINGW64 ~/OneDrive/Área de Trabalho/atividade_de_Pi (master)


$ git push
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use

git push --set-upstream KathiaSantallaRoque master

To have this happen automatically for branches without a tracking


upstream, see 'push.autoSetupRemote' in 'git help config'.

kathi@LAPTOP-QUO7K13F MINGW64 ~/OneDrive/Área de Trabalho/atividade_de_Pi (master)


$ ^C

kathi@LAPTOP-QUO7K13F MINGW64 ~/OneDrive/Área de Trabalho/atividade_de_Pi (master)


$

You might also like