root@ubuntux86:/work/img_repo# git remote add origin https://github.com/magnate3/img_repo.git fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). root@ubuntux86:/work/img_repo# ls
先git init root@ubuntux86:/work/img_repo# git init Initialized empty Git repository in /work/img_repo/.git/ root@ubuntux86:/work/img_repo# git remote add origin https://github.com/magnate3/img_repo.git root@ubuntux86:/work/img_repo#