From e25e2eff240c2eaba6d2550c42178d3330f2bfce Mon Sep 17 00:00:00 2001 From: "Alice (AntonovDA)" Date: Tue, 26 Mar 2024 19:03:47 +0300 Subject: [PATCH] =?UTF-8?q?report:=20=D0=BE=D1=82=D1=87=D0=B5=D1=82=20?= =?UTF-8?q?=D0=BE=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.txt | 1573 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1573 insertions(+) create mode 100644 README.txt diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..7b8166e --- /dev/null +++ b/README.txt @@ -0,0 +1,1573 @@ +Last login: Sun Mar 24 13:32:14 on ttys000 +dmitrijantonov@MacBook-Air-Dmitrij ~ % cd desktop +dmitrijantonov@MacBook-Air-Dmitrij desktop % cd lab02 +dmitrijantonov@MacBook-Air-Dmitrij lab02 % ls +dmitrijantonov@MacBook-Air-Dmitrij lab02 % mkdir alice +dmitrijantonov@MacBook-Air-Dmitrij lab02 % mkdir bob +dmitrijantonov@MacBook-Air-Dmitrij lab02 % cd alice +dmitrijantonov@MacBook-Air-Dmitrij alice % mkdir project +dmitrijantonov@MacBook-Air-Dmitrij alice % cd project +dmitrijantonov@MacBook-Air-Dmitrij project % cd .. +dmitrijantonov@MacBook-Air-Dmitrij alice % cd project +dmitrijantonov@MacBook-Air-Dmitrij project % git init +Initialized empty Git repository in /Users/dmitrijantonov/Desktop/lab02/alice/project/.git/ +dmitrijantonov@MacBook-Air-Dmitrij project % ls -A +.git +dmitrijantonov@MacBook-Air-Dmitrij project % git config user.name 'Alice (AntonovDA)' +dmitrijantonov@MacBook-Air-Dmitrij project % git config user.email 'AntonovDAn@mpei.ru' +dmitrijantonov@MacBook-Air-Dmitrij project % git add main2.cpp +dmitrijantonov@MacBook-Air-Dmitrij project % git status +On branch main + +No commits yet + +Changes to be committed: + (use "git rm --cached ..." to unstage) + new file: main2.cpp + +Untracked files: + (use "git add ..." to include in what will be committed) + .DS_Store + main2 + main2.dSYM/ + +dmitrijantonov@MacBook-Air-Dmitrij project % git commit -m 'code: заготовка программы' +[main (root-commit) 9896924] code: заготовка программы + 1 file changed, 9 insertions(+) + create mode 100644 main2.cpp +dmitrijantonov@MacBook-Air-Dmitrij project % git add project.cbp +dmitrijantonov@MacBook-Air-Dmitrij project % git commit -m 'build: add projecct file' +[main bad78bc] build: add projecct file + 1 file changed, 9 insertions(+) + create mode 100644 project.cbp +dmitrijantonov@MacBook-Air-Dmitrij project % git status +On branch main +Changes not staged for commit: + (use "git add ..." to update what will be committed) + (use "git restore ..." to discard changes in working directory) + modified: main2.cpp + +Untracked files: + (use "git add ..." to include in what will be committed) + .DS_Store + main2 + main2.dSYM/ + +no changes added to commit (use "git add" and/or "git commit -a") +dmitrijantonov@MacBook-Air-Dmitrij project % git add main2.cpp +dmitrijantonov@MacBook-Air-Dmitrij project % git commit -m "..." +[main 9f6cd71] ... + 1 file changed, 3 insertions(+), 3 deletions(-) +dmitrijantonov@MacBook-Air-Dmitrij project % git add -u +dmitrijantonov@MacBook-Air-Dmitrij project % git commit -m "..." +[main 6d4ba94] ... + 1 file changed, 4 insertions(+) +dmitrijantonov@MacBook-Air-Dmitrij project % git commit -a -m "code: add sum of a,b" +[main 051a5a1] code: add sum of a,b + 1 file changed, 3 insertions(+), 1 deletion(-) +dmitrijantonov@MacBook-Air-Dmitrij project % git status +On branch main +Untracked files: + (use "git add ..." to include in what will be committed) + .DS_Store + main2 + main2.dSYM/ + +nothing added to commit but untracked files present (use "git add" to track) +dmitrijantonov@MacBook-Air-Dmitrij project % git status +On branch main +Untracked files: + (use "git add ..." to include in what will be committed) + .DS_Store + .gitignore + main2 + main2.dSYM/ + +nothing added to commit but untracked files present (use "git add" to track) +dmitrijantonov@MacBook-Air-Dmitrij project % git status +On branch main +Untracked files: + (use "git add ..." to include in what will be committed) + .DS_Store + .gitignore + main2 + main2.dSYM/ + +nothing added to commit but untracked files present (use "git add" to track) +dmitrijantonov@MacBook-Air-Dmitrij project % git status +On branch main +Untracked files: + (use "git add ..." to include in what will be committed) + .DS_Store + .gitignore + main2 + main2.dSYM/ + +nothing added to commit but untracked files present (use "git add" to track) +dmitrijantonov@MacBook-Air-Dmitrij project % git status +On branch main +Untracked files: + (use "git add ..." to include in what will be committed) + .DS_Store + .gitignore + main2 + main2.dSYM/ + +nothing added to commit but untracked files present (use "git add" to track) +dmitrijantonov@MacBook-Air-Dmitrij project % ls +main2 main2.cpp main2.dSYM project.cbp +dmitrijantonov@MacBook-Air-Dmitrij project % ls -A +.DS_Store .gitignore main2.cpp project.cbp +.git main2 main2.dSYM +dmitrijantonov@MacBook-Air-Dmitrij project % git status +On branch main +Untracked files: + (use "git add ..." to include in what will be committed) + .DS_Store + .gitignore + main2 + main2.dSYM/ + +nothing added to commit but untracked files present (use "git add" to track) +dmitrijantonov@MacBook-Air-Dmitrij project % git status +On branch main +Untracked files: + (use "git add ..." to include in what will be committed) + .DS_Store + .gitignore + main2 + main2.dSYM/ + +nothing added to commit but untracked files present (use "git add" to track) +dmitrijantonov@MacBook-Air-Dmitrij project % git add .gitignore +dmitrijantonov@MacBook-Air-Dmitrij project % git commit -m 'git: ignoreted files' +[main ae9e215] git: ignoreted files + 1 file changed, 1 insertion(+) + create mode 100644 .gitignore +dmitrijantonov@MacBook-Air-Dmitrij project % git status +On branch main +Untracked files: + (use "git add ..." to include in what will be committed) + .DS_Store + main2 + main2.dSYM/ + +nothing added to commit but untracked files present (use "git add" to track) +dmitrijantonov@MacBook-Air-Dmitrij project % git status +On branch main +Changes not staged for commit: + (use "git add ..." to update what will be committed) + (use "git restore ..." to discard changes in working directory) + modified: .gitignore + +Untracked files: + (use "git add ..." to include in what will be committed) + .DS_Store + main2 + main2.dSYM/ + +no changes added to commit (use "git add" and/or "git commit -a") +dmitrijantonov@MacBook-Air-Dmitrij project % git log +commit ae9e215dfc2d2d4b7293756374f86a6a98d96f85 (HEAD -> main) +Author: Alice (AntonovDA) +Date: Sun Mar 24 15:11:41 2024 +0300 + + git: ignoreted files + +commit 051a5a1ec2613fa76bdebad3c00859fe09a98a30 +Author: Alice (AntonovDA) +Date: Sun Mar 24 14:57:23 2024 +0300 + + code: add sum of a,b + +commit 6d4ba94206e098876de23f7957beb100a3bb1a41 +Author: Alice (AntonovDA) +Date: Sun Mar 24 14:50:50 2024 +0300 + + ... + +commit 9f6cd71ea75501bc4bd6456090797c24484cac6a +Author: Alice (AntonovDA) +Date: Sun Mar 24 14:49:31 2024 +0300 + + ... +dmitrijantonov@MacBook-Air-Dmitrij project % git log --stat +commit ae9e215dfc2d2d4b7293756374f86a6a98d96f85 (HEAD -> main) +Author: Alice (AntonovDA) +Date: Sun Mar 24 15:11:41 2024 +0300 + + git: ignoreted files + + .gitignore | 1 + + 1 file changed, 1 insertion(+) + +commit 051a5a1ec2613fa76bdebad3c00859fe09a98a30 +Author: Alice (AntonovDA) +Date: Sun Mar 24 14:57:23 2024 +0300 + + code: add sum of a,b + + main2.cpp | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +commit 6d4ba94206e098876de23f7957beb100a3bb1a41 +Author: Alice (AntonovDA) +Date: Sun Mar 24 14:50:50 2024 +0300 + + ... +dmitrijantonov@MacBook-Air-Dmitrij project % git log --oneline --decorate +ae9e215 (HEAD -> main) git: ignoreted files +051a5a1 code: add sum of a,b +6d4ba94 ... +9f6cd71 ... +bad78bc build: add projecct file +9896924 code: заготовка программы +dmitrijantonov@MacBook-Air-Dmitrij project % git log --oneline --decorate --all --graph +* ae9e215 (HEAD -> main) git: ignoreted files +* 051a5a1 code: add sum of a,b +* 6d4ba94 ... +* 9f6cd71 ... +* bad78bc build: add projecct file +* 9896924 code: заготовка программы +dmitrijantonov@MacBook-Air-Dmitrij project % git log -- main2.cpp +commit 051a5a1ec2613fa76bdebad3c00859fe09a98a30 +Author: Alice (AntonovDA) +Date: Sun Mar 24 14:57:23 2024 +0300 + + code: add sum of a,b + +commit 6d4ba94206e098876de23f7957beb100a3bb1a41 +Author: Alice (AntonovDA) +Date: Sun Mar 24 14:50:50 2024 +0300 + + ... + +commit 9f6cd71ea75501bc4bd6456090797c24484cac6a +Author: Alice (AntonovDA) +Date: Sun Mar 24 14:49:31 2024 +0300 + + ... + +commit 9896924a35ca5fdd52939beef46d8e0a885b0993 +Author: Alice (AntonovDA) +Date: Sun Mar 24 14:44:52 2024 +0300 + + code: заготовка программы +dmitrijantonov@MacBook-Air-Dmitrij project % git log --grep "code:" +commit 051a5a1ec2613fa76bdebad3c00859fe09a98a30 +Author: Alice (AntonovDA) +Date: Sun Mar 24 14:57:23 2024 +0300 + + code: add sum of a,b + +commit 9896924a35ca5fdd52939beef46d8e0a885b0993 +Author: Alice (AntonovDA) +Date: Sun Mar 24 14:44:52 2024 +0300 + + code: заготовка программы +dmitrijantonov@MacBook-Air-Dmitrij project % git log --grep "build:" +commit bad78bcf10ad96e53ec091c998e9e9c7957d725b +Author: Alice (AntonovDA) +Date: Sun Mar 24 14:47:54 2024 +0300 + + build: add projecct file +dmitrijantonov@MacBook-Air-Dmitrij project % git log -- project.cbp +commit bad78bcf10ad96e53ec091c998e9e9c7957d725b +Author: Alice (AntonovDA) +Date: Sun Mar 24 14:47:54 2024 +0300 + + build: add projecct file +dmitrijantonov@MacBook-Air-Dmitrij project % git show +zsh: parse error near `\n' +dmitrijantonov@MacBook-Air-Dmitrij project % git show main +commit ae9e215dfc2d2d4b7293756374f86a6a98d96f85 (HEAD -> main) +Author: Alice (AntonovDA) +Date: Sun Mar 24 15:11:41 2024 +0300 + + git: ignoreted files + +diff --git a/.gitignore b/.gitignore +new file mode 100644 +index 0000000..5a12c2a +--- /dev/null ++++ b/.gitignore +@@ -0,0 +1 @@ ++.exe +\ No newline at end of file +dmitrijantonov@MacBook-Air-Dmitrij project % git show HEAD +commit ae9e215dfc2d2d4b7293756374f86a6a98d96f85 (HEAD -> main) +Author: Alice (AntonovDA) +Date: Sun Mar 24 15:11:41 2024 +0300 + + git: ignoreted files + +diff --git a/.gitignore b/.gitignore +new file mode 100644 +index 0000000..5a12c2a +--- /dev/null ++++ b/.gitignore +@@ -0,0 +1 @@ ++.exe +\ No newline at end of file +dmitrijantonov@MacBook-Air-Dmitrij project % git show d2e8af +fatal: ambiguous argument 'd2e8af': unknown revision or path not in the working tree. +Use '--' to separate paths from revisions, like this: +'git [...] -- [...]' +dmitrijantonov@MacBook-Air-Dmitrij project % git show 5a12c2a +.exe +dmitrijantonov@MacBook-Air-Dmitrij project % git show HEAD~1 +commit 051a5a1ec2613fa76bdebad3c00859fe09a98a30 +Author: Alice (AntonovDA) +Date: Sun Mar 24 14:57:23 2024 +0300 + + code: add sum of a,b + +diff --git a/main2.cpp b/main2.cpp +index 9e875c9..0400acb 100644 +--- a/main2.cpp ++++ b/main2.cpp +@@ -6,7 +6,9 @@ int main() + cout << "Enter A and B: "; + int a, b; + cin >> a >> b; +- cout << "A + B = " << a + b << '\n'; ++ cout << "A + B = " << a + b << '\n' ++ << "A - B = " << a - b << '\n'; ++ + + return 0; + +dmitrijantonov@MacBook-Air-Dmitrij project % git show main~1 +commit 051a5a1ec2613fa76bdebad3c00859fe09a98a30 +Author: Alice (AntonovDA) +Date: Sun Mar 24 14:57:23 2024 +0300 + + code: add sum of a,b + +diff --git a/main2.cpp b/main2.cpp +index 9e875c9..0400acb 100644 +--- a/main2.cpp ++++ b/main2.cpp +@@ -6,7 +6,9 @@ int main() + cout << "Enter A and B: "; + int a, b; + cin >> a >> b; +- cout << "A + B = " << a + b << '\n'; ++ cout << "A + B = " << a + b << '\n' ++ << "A - B = " << a - b << '\n'; ++ + + return 0; + +dmitrijantonov@MacBook-Air-Dmitrij project % git diff +diff --git a/.gitignore b/.gitignore +index 5a12c2a..a0a0033 100644 +--- a/.gitignore ++++ b/.gitignore +@@ -1 +1,2 @@ +-.exe +\ No newline at end of file ++.exe ++.dSYM/ +\ No newline at end of file +diff --git a/main2.cpp b/main2.cpp +index 0400acb..987e7c5 100644 +--- a/main2.cpp ++++ b/main2.cpp +@@ -7,7 +7,8 @@ int main() + int a, b; + cin >> a >> b; + cout << "A + B = " << a + b << '\n' +- << "A - B = " << a - b << '\n'; ++ << "A - B = " << a - b << '\n' ++ << "A * B = " << a * b ; + + +dmitrijantonov@MacBook-Air-Dmitrij project % git diff HEAD~2 +diff --git a/.gitignore b/.gitignore +new file mode 100644 +index 0000000..a0a0033 +--- /dev/null ++++ b/.gitignore +@@ -0,0 +1,2 @@ ++.exe ++.dSYM/ +\ No newline at end of file +diff --git a/main2.cpp b/main2.cpp +index 9e875c9..987e7c5 100644 +--- a/main2.cpp ++++ b/main2.cpp +@@ -6,7 +6,10 @@ int main() + cout << "Enter A and B: "; + int a, b; + cin >> a >> b; +- cout << "A + B = " << a + b << '\n'; ++ cout << "A + B = " << a + b << '\n' ++ << "A - B = " << a - b << '\n' ++ << "A * B = " << a * b ; ++ + +dmitrijantonov@MacBook-Air-Dmitrij project % git diff HEAD~2 HEAD +diff --git a/.gitignore b/.gitignore +new file mode 100644 +index 0000000..5a12c2a +--- /dev/null ++++ b/.gitignore +@@ -0,0 +1 @@ ++.exe +\ No newline at end of file +diff --git a/main2.cpp b/main2.cpp +index 9e875c9..0400acb 100644 +--- a/main2.cpp ++++ b/main2.cpp +@@ -6,7 +6,9 @@ int main() + cout << "Enter A and B: "; + int a, b; + cin >> a >> b; +- cout << "A + B = " << a + b << '\n'; ++ cout << "A + B = " << a + b << '\n' ++ << "A - B = " << a - b << '\n'; ++ + + return 0; + +dmitrijantonov@MacBook-Air-Dmitrij project % git diff HEAD~1 HEAD +diff --git a/.gitignore b/.gitignore +new file mode 100644 +index 0000000..5a12c2a +--- /dev/null ++++ b/.gitignore +@@ -0,0 +1 @@ ++.exe +\ No newline at end of file +dmitrijantonov@MacBook-Air-Dmitrij project % git diff HEAD~1 HEAD~3 +diff --git a/main2.cpp b/main2.cpp +index 0400acb..e76b1a2 100644 +--- a/main2.cpp ++++ b/main2.cpp +@@ -6,10 +6,4 @@ int main() + cout << "Enter A and B: "; + int a, b; + cin >> a >> b; +- cout << "A + B = " << a + b << '\n' +- << "A - B = " << a - b << '\n'; +- +- +- return 0; +- + } +\ No newline at end of file +dmitrijantonov@MacBook-Air-Dmitrij project % git commit -a -m "code: cout product' +dquote> " +[main 294564d] code: cout product' + 2 files changed, 4 insertions(+), 2 deletions(-) +dmitrijantonov@MacBook-Air-Dmitrij project % git status +On branch main +Untracked files: + (use "git add ..." to include in what will be committed) + .DS_Store + main2 + main2.dSYM/ + +nothing added to commit but untracked files present (use "git add" to track) +dmitrijantonov@MacBook-Air-Dmitrij project % git commit -a -m "code: cout product" +On branch main +Untracked files: + (use "git add ..." to include in what will be committed) + .DS_Store + main2 + main2.dSYM/ + +nothing added to commit but untracked files present (use "git add" to track) +dmitrijantonov@MacBook-Air-Dmitrij project % git add -u +dmitrijantonov@MacBook-Air-Dmitrij project % git commut -m " code: cout product" +git: 'commut' is not a git command. See 'git --help'. + +The most similar command is + commit +dmitrijantonov@MacBook-Air-Dmitrij project % git add -u +dmitrijantonov@MacBook-Air-Dmitrij project % git commit -m " code: cout prouct" +On branch main +Untracked files: + (use "git add ..." to include in what will be committed) + .DS_Store + main2 + main2.dSYM/ + +nothing added to commit but untracked files present (use "git add" to track) +dmitrijantonov@MacBook-Air-Dmitrij project % git add -u +dmitrijantonov@MacBook-Air-Dmitrij project % git commit -m " code: cout prouct" + +On branch main +Untracked files: + (use "git add ..." to include in what will be committed) + .DS_Store + main2 + main2.dSYM/ + +nothing added to commit but untracked files present (use "git add" to track) +dmitrijantonov@MacBook-Air-Dmitrij project % git reset --hard HEAD~1 +HEAD is now at ae9e215 git: ignoreted files +dmitrijantonov@MacBook-Air-Dmitrij project % git checkout HEAD -- main2.cpp +dmitrijantonov@MacBook-Air-Dmitrij project % ssh-keygen +Generating public/private rsa key pair. +Enter file in which to save the key (/Users/dmitrijantonov/.ssh/id_rsa): +/Users/dmitrijantonov/.ssh/id_rsa already exists. +Overwrite (y/n)? y +Enter passphrase (empty for no passphrase): +Enter same passphrase again: +Passphrases do not match. Try again. +Enter passphrase (empty for no passphrase): +Enter same passphrase again: +Your identification has been saved in /Users/dmitrijantonov/.ssh/id_rsa +Your public key has been saved in /Users/dmitrijantonov/.ssh/id_rsa.pub +The key fingerprint is: +SHA256:D8bRn2Has25uBbojMbkCu5fgl+WVthPH8MCh65P6+OI dmitrijantonov@MacBook-Air-Dmitrij.local +The key's randomart image is: ++---[RSA 3072]----+ +| | +| .. | +| .o..o | +| ...+=.o | +| So.B=. | +| o .*o* +o. | +| . + * B.=.. | +| o B.B =.o | +| .=E*oo *o | ++----[SHA256]-----+ +dmitrijantonov@MacBook-Air-Dmitrij project % eval $ (ssh-agent -s) +zsh: unknown file attribute: h +dmitrijantonov@MacBook-Air-Dmitrij project % eval $(ssh-agent -s) +Agent pid 11202 +dmitrijantonov@MacBook-Air-Dmitrij project % ssh-add +Enter passphrase for /Users/dmitrijantonov/.ssh/id_rsa: +Identity added: /Users/dmitrijantonov/.ssh/id_rsa (dmitrijantonov@MacBook-Air-Dmitrij.local) +dmitrijantonov@MacBook-Air-Dmitrij project % cat ~/.ssh/id_ed25519.pub +cat: /Users/dmitrijantonov/.ssh/id_ed25519.pub: No such file or directory +dmitrijantonov@MacBook-Air-Dmitrij project % cat ~/.ssh/id_ed25519.pub +cat: /Users/dmitrijantonov/.ssh/id_ed25519.pub: No such file or directory +dmitrijantonov@MacBook-Air-Dmitrij project % ssh-add +Enter passphrase for /Users/dmitrijantonov/.ssh/id_rsa: +Identity added: /Users/dmitrijantonov/.ssh/id_rsa (dmitrijantonov@MacBook-Air-Dmitrij.local) +dmitrijantonov@MacBook-Air-Dmitrij project % cat ~/.ssh/id_25519.pub +cat: /Users/dmitrijantonov/.ssh/id_25519.pub: No such file or directory +dmitrijantonov@MacBook-Air-Dmitrij project % cat ~/.ssh/id_rsa.pub +ssh-rsa +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDPxaVsyW3e2l1H9OeKsLDbnwAMsXdoHZKT/oCkQz2Y6l731yNQFqY5SO6FShPGPrXNDj5EpoNmb2XWK+dksaWsTNQOmkXbIlk8ld08jJdAFPpgm+IOEYT/mTGjzB912bkQnhvZrTIuYM7b33Y2VPdVLEK/W4hu1jZiHRZqGzdS0yX2pZFiDjso5jDHYXZNMMkjeGeWCo3dHEH176qJW2zxEiv47yvNJDbvWpGxlfzGYK9hjBBa6wF/BhmlZUA+kBvySOQTNTQaoduEozSnWm+0nx6+7yYZnxjIQ6hkO2DiYCCdhb18TM1uWOp9Gt8j7/kV8EO/9H7BNWjvE30HjjojZj1pCaOIf9kQFMxaviYOZYBCAS6lq7Qe0M15rc7o20os6drIe0Lo1txaXnemxBKrlt1rXMu+4gMuSruQiYWQvxuiYwYBoQ/CNCrfK7pcwmHKAdRuRRD/99yWrArkcUSUhCvKN3ygEPjZLmvDY3cpf+0I0rYaX1JKM57GfIeNv0U= dmitrijantonov@MacBook-Air-Dmitrij.local +zsh: command not found: ssh-rsa +dmitrijantonov@MacBook-Air-Dmitrij project % git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +dmitrijantonov@MacBook-Air-Dmitrij project % git push -u origin main +ssh: connect to host uit.mpei.ru port 22: Operation timed out +fatal: Could not read from remote repository. + +Please make sure you have the correct access rights +and the repository exists. +dmitrijantonov@MacBook-Air-Dmitrij project % git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +error: remote origin already exists. +dmitrijantonov@MacBook-Air-Dmitrij project % git push -u origin main +^[[B^[[Dssh: connect to host uit.mpei.ru port 22: Operation timed out +fatal: Could not read from remote repository. + +Please make sure you have the correct access rights +and the repository exists. +dmitrijantonov@MacBook-Air-Dmitrij project % git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +error: remote origin already exists. +dmitrijantonov@MacBook-Air-Dmitrij project % git push -u origin main + +q +q +q +q +q +q +q +q +qcc +git push -u origin main +git push -u origin main + + + + + + + + + + + + + + + + + +pa[fldv +stop +dd +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.gitgit remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:Assh: connect to host uit.mpei.ru port 22: Operation timed out +fatal: Could not read from remote repository. + +Please make sure you have the correct access rights +and the repository exists. +dmitrijantonov@MacBook-Air-Dmitrij project % +dmitrijantonov@MacBook-Air-Dmitrij project % q +zsh: command not found: q +dmitrijantonov@MacBook-Air-Dmitrij project % q +zsh: command not found: q +dmitrijantonov@MacBook-Air-Dmitrij project % q +zsh: command not found: q +dmitrijantonov@MacBook-Air-Dmitrij project % q +zsh: command not found: q +dmitrijantonov@MacBook-Air-Dmitrij project % q +zsh: command not found: q +dmitrijantonov@MacBook-Air-Dmitrij project % q +zsh: command not found: q +dmitrijantonov@MacBook-Air-Dmitrij project % q +zsh: command not found: q +dmitrijantonov@MacBook-Air-Dmitrij project % q +zsh: command not found: q +dmitrijantonov@MacBook-Air-Dmitrij project % qcc +zsh: command not found: qcc +dmitrijantonov@MacBook-Air-Dmitrij project % git push -u origin main +git push -u origin main + + + + + + + + + + + + + + + + + +pa[fldv +stop +dd +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.gitgit remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab002.git +git remote add origin git@uit.mpei.ru:AntonovDAn/cs- +git remote add origin + + + + + + + + + + + + +/////Last login: Sun Mar 24 16:22:56 on ttys000 +dmitrijantonov@MacBook-Air-Dmitrij ~ % cd desktop +dmitrijantonov@MacBook-Air-Dmitrij desktop % cd lab02 +dmitrijantonov@MacBook-Air-Dmitrij lab02 % cd alice +dmitrijantonov@MacBook-Air-Dmitrij alice % cd project +dmitrijantonov@MacBook-Air-Dmitrij project % git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab02.gigit remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab2.gitt +usage: git remote add [] + + -f, --fetch fetch the remote branches + --tags import all tags and associated objects when fetching + or do not fetch any tag at all (--no-tags) + -t, --track branch(es) to track + -m, --master + master branch + --mirror[=(push|fetch)] + set up remote as a mirror to push to or fetch from + +dmitrijantonov@MacBook-Air-Dmitrij project % git remote set-url origin http://uit.mpei.ru/git/AntonovDAn/cs-lab2.git +dmitrijantonov@MacBook-Air-Dmitrij project % git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab2.git +error: remote origin already exists. +dmitrijantonov@MacBook-Air-Dmitrij project % git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab2.git +error: remote origin already exists. +dmitrijantonov@MacBook-Air-Dmitrij project % git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab2.git +error: remote origin already exists. +dmitrijantonov@MacBook-Air-Dmitrij project % git push -u origin main2 +error: src refspec main2 does not match any +error: failed to push some refs to 'http://uit.mpei.ru/git/AntonovDAn/cs-lab2.git' +dmitrijantonov@MacBook-Air-Dmitrij project % git remote add origin git@uit.mpei.ru:AntonovDAn/cs-lab2.git +error: remote origin already exists. +dmitrijantonov@MacBook-Air-Dmitrij project % git push -u origin main2 +error: src refspec main2 does not match any +error: failed to push some refs to 'http://uit.mpei.ru/git/AntonovDAn/cs-lab2.git' +dmitrijantonov@MacBook-Air-Dmitrij project % git remote set-url origin http://uit.mpei.ru/git/AntonovDAn/cs-lab2.git +dmitrijantonov@MacBook-Air-Dmitrij project % git push -u origin main2 +error: src refspec main2 does not match any +error: failed to push some refs to 'http://uit.mpei.ru/git/AntonovDAn/cs-lab2.git' +dmitrijantonov@MacBook-Air-Dmitrij project % git remote set-url origin http://uit.mpei.ru/git/AntonovDAn/cs-lab2.git +dmitrijantonov@MacBook-Air-Dmitrij project % git push -u origin main2 +error: src refspec main2 does not match any +error: failed to push some refs to 'http://uit.mpei.ru/git/AntonovDAn/cs-lab2.git' +dmitrijantonov@MacBook-Air-Dmitrij project % git remote add origin http://uit.mpei.ru/git/AntonovDAn/cs-lab2.git +error: remote origin already exists. +dmitrijantonov@MacBook-Air-Dmitrij project % git push -u origin mainw +error: src refspec mainw does not match any +error: failed to push some refs to 'http://uit.mpei.ru/git/AntonovDAn/cs-lab2.git' +dmitrijantonov@MacBook-Air-Dmitrij project % git push -u origin main2 +error: src refspec main2 does not match any +error: failed to push some refs to 'http://uit.mpei.ru/git/AntonovDAn/cs-lab2.git' +dmitrijantonov@MacBook-Air-Dmitrij project % git remote set-url origin http://uit.mpei.ru/git/AntonovDAn/cs-lab2.git +dmitrijantonov@MacBook-Air-Dmitrij project % git remote add origin http://uit.mpei.ru/git/AntonovDAn/cs-lab2.git +error: remote origin already exists. +dmitrijantonov@MacBook-Air-Dmitrij project % git push -u origin main +Enumerating objects: 17, done. +Counting objects: 100% (17/17), done. +Delta compression using up to 4 threads +Compressing objects: 100% (15/15), done. +Writing objects: 100% (17/17), 1.74 KiB | 445.00 KiB/s, done. +Total 17 (delta 2), reused 0 (delta 0), pack-reused 0 +remote: . Processing 1 references +remote: Processed 1 references in total +To http://uit.mpei.ru/git/AntonovDAn/cs-lab2.git + * [new branch] main -> main +branch 'main' set up to track 'origin/main'. +dmitrijantonov@MacBook-Air-Dmitrij project % git remote -v +origin http://uit.mpei.ru/git/AntonovDAn/cs-lab2.git (fetch) +origin http://uit.mpei.ru/git/AntonovDAn/cs-lab2.git (push) +dmitrijantonov@MacBook-Air-Dmitrij project % git clone +fatal: You must specify a repository to clone. + +usage: git clone [] [--] [] + + -v, --verbose be more verbose + -q, --quiet be more quiet + --progress force progress reporting + --reject-shallow don't clone shallow repository + -n, --no-checkout don't create a checkout + --bare create a bare repository + --mirror create a mirror repository (implies bare) + -l, --local to clone from a local repository + --no-hardlinks don't use local hardlinks, always copy + -s, --shared setup as shared repository + --recurse-submodules[=] + initialize submodules in the clone + --recursive ... alias of --recurse-submodules + -j, --jobs number of submodules cloned in parallel + --template + directory from which templates will be used + --reference reference repository + --reference-if-able + reference repository + --dissociate use --reference only while cloning + -o, --origin use instead of 'origin' to track upstream + -b, --branch + checkout instead of the remote's HEAD + -u, --upload-pack + path to git-upload-pack on the remote + --depth create a shallow clone of that depth + --shallow-since