.
Copy gsutil mb gs://ai-experiments-001
mkdir /home/janardhan_pulivarthi/gcs
chmod 777 /home/janardhan_pulivarthi/gcs
janardhan_pulivarthi@cloudshell:~ (ai-experiments-001)$ gcsfuse -o nonempty -file-mode=777 -dir-mode=777 ai-experiments-001 /home/janardhan_pulivarthi/gcs
Git clone gave the untracked, deleted files.
.
Copy janardhan_pulivarthi@cloudshell:~/gcs (ai-experiments-001)$ git status fatal: not a git repository (or any parent up to mount point /home/janardhan_pulivarthi)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
The above error is due to, I have not cd into amp.dev git repository.
Copy janardhan_pulivarthi@cloudshell:~ (ai-experiments-001)$ gcsfuse -o nonempty -file-mode=777 -dir-mode=777 ai-experiments-001 /home/janardhan_pulivarthi/gcs
Using mount point: /home/janardhan_pulivarthi/gcs
2021/03/15 07:16:34.333628 Opening GCS connection...
2021/03/15 07:16:34.695112 Mounting file system...
daemonize.Run: readFromProcess: sub-process: mountWithArgs: mountWithConn: Mount: mount: running fusermount: exit status 1
stderr:
/bin/fusermount: failed to access mountpoint /home/janardhan_pulivarthi/gcs: Permission denied
Copy $ git clone https://github.com/<user>/<repo>
remote: Enumerating objects: 143, done.
remote: Counting objects: 100% (143/143), done.
remote: Compressing objects: 100% (97/97), done.
remote: Total 6124 (delta 74), reused 83 (delta 43), pack-reused 5981
Receiving objects: 100% (6124/6124), 6.08 MiB | 1.83 MiB/s, done.
Resolving deltas: 100% (4181/4181), done.
error: packfile /home/janardhan/gcs/cloudshell/repo/openmined/.git/objects/pack/pack-05f3b2881c2041e4fa5187a554a269b00ac043b9.pack does not match index
error: packfile /home/janardhan/gcs/cloudshell/repo/openmined/.git/objects/pack/pack-05f3b2881c2041e4fa5187a554a269b00ac043b9.pack does not match index
Copy fatal: update_ref failed for ref 'HEAD': cannot update ref 'refs/heads/dev': trying to write ref 'refs/heads/dev' with nonexistent object