A
A
Alexandra2021-12-23 21:39:54
git
Alexandra, 2021-12-23 21:39:54

I copied my repository from github to the .ssh folder. How to find a folder?

Generated the keys
This is from the terminal
-rw------- 1 ruslantantasev staff 3434 Dec 21 15:13 id_rsa
-rw-r--r-- 1 ruslantantasev staff 745 Dec 21 15:13 id_rsa.pub
Copied the
MacBook-Air repository -Ruslan:.ssh ruslantantasev$ git clone [email protected]:ATantasheva/site-pozdravlenieSLD.git
Cloning into 'site-pozdravlenieSLD'...
Enter passphrase for key '/Users/ruslantantasev/.ssh/id_rsa':
remote: Enumerating objects: 30, done.
remote: Total 30 (delta 0), reused 0 (delta 0), pack-reused 30
Receiving objects: 100% (30/30), 22.65 MiB | 1.47 MiB/s, done.
MacBook-Air-Ruslan:.ssh ruslantantasev$

After cd ~/.ssh;ls -la
I see that the file is somewhere on the poppy drwxr-xr-x 29 ruslantantasev staff 928 23 Dec 14:00 site-pozdravlenieSLD
But I can’t find the site-pozdravlenieSLD file
I can’t find the .ssh folder
I know that it is hidden - showed all hidden - all still doesn't find anything

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Leonid, 2021-12-23
@bravebug

the mistake was to clone the repository in .ssh - this is a special folder with keys and fingerprints for ssh, and for the other it simply should not be used. But it's okay.
Do Better:

cd
mkdir my_git_repos
cd my_git_repos
git clone [email protected]:ATantasheva/site-pozdravlenieSLD.git

folder my_git_repos most likely then you can easily find

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question