diff --git a/content/git/clone-commit-via-cli.md b/content/git/clone-commit-via-cli.md index ee566c4..f0ec8f5 100644 --- a/content/git/clone-commit-via-cli.md +++ b/content/git/clone-commit-via-cli.md @@ -18,7 +18,7 @@ The repository was created via the Codeberg website, including a `README.md` fil ### Clone _Cloning_ refers to the process of creating an identical copy of an online repository to your local machine. -Clone with the Git command `clone` followed by the repo URL. +Clone with the Git command `clone` followed by the repository URL. #### SSH @@ -34,9 +34,9 @@ you have [verified Codeberg's SSH fingerprint](/security/ssh-fingerprint)! If you have set up a passphrase, you will be asked for it. ```shell -~$ git clone git@codeberg.org:user/repo.git -Enter passphrase for key '/home/user/.ssh/id_rsa': **** -Cloning into 'repo'... +~$ git clone git@codeberg.org:knut/examples.git +Enter passphrase for key '/home/knut/.ssh/id_rsa': **** +Cloning into 'examples'... remote: Enumerating objects: 3, done. remote: Counting objects: 100% (3/3), done. remote: Compressing objects: 100% (2/2), done. @@ -47,8 +47,8 @@ Unpacking objects: 100% (3/3), done. #### HTTP ```shell -~$ git clone https://codeberg.org/user/repo.git -Cloning into 'repo'... +~$ git clone https://codeberg.org/knut/examples.git +Cloning into 'examples'... remote: Enumerating objects: 3, done. remote: Counting objects: 100% (3/3), done. remote: Total 3 (delta 0), reused 0 (delta 0) @@ -58,8 +58,8 @@ Unpacking objects: 100% (3/3), 214 bytes | 1024 bytes/s, done. If you wish to clone a private repository, simply add an [access token](/advanced/access-token/) from your account into the URL passed to `git clone`. If you only want to clone or fetch from the repository, the token only needs read access. If you want to push to the repository, write access is needed. ```shell -~$ git clone https://token@codeberg.org/user/repo.git -Cloning into 'repo'... +~$ git clone https://token@codeberg.org/knut/examples.git +Cloning into 'examples'... remote: Enumerating objects: 3, done. remote: Counting objects: 100% (3/3), done. remote: Total 3 (delta 0), reused 0 (delta 0)