Created
October 30, 2024 11:31
-
-
Save mathieujobin/f3ac50278ede418c312e462b852c49dd to your computer and use it in GitHub Desktop.
Revisions
-
mathieujobin created this gist
Oct 30, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,37 @@ user@machine:~/Documents$ git clone keybase://team/secret/repository Cloning into 'repository'... Initializing Keybase... done. Syncing with Keybase... done. Counting: 98.44 MB... done. Cryptographic cloning: (100.00%) 98.44/98.44 MB... done. warning: remote HEAD refers to nonexistent ref, unable to checkout user@machine:~/Documents$ cd repository/ user@machine:~/Documents/repository$ git branch -va fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). user@machine:~/Documents/repository$ git remote -v fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). user@machine:~/Documents/repository$ ls -a . .. .git user@machine:~/Documents/repository$ du -sh .git 99M .git user@machine:~/Documents/repository$ git remote add keybase://team/secret/repository fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). user@machine:~/Documents/repository$ git remote add origin keybase://team/secret/repository fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). user@machine:~/Documents/repository$ git init Initialized empty Git repository in /home/user/Documents/repository/.git/ user@machine:~/Documents/repository$ git remote add origin keybase://team/secret/repository error: remote origin already exists. user@machine:~/Documents/repository$ git fetch origin Initializing Keybase... done. Syncing with Keybase... done. user@machine:~/Documents/repository$ git branch -va remotes/origin/main cd0fc17 Oct26th user@machine:~/Documents/repository$ git checkout main branch 'main' set up to track 'origin/main'. Switched to a new branch 'main' user@machine:~/Documents/repository$