如果还没有与我的本地存储库链接的远程存储库,我该如何转到克隆的存储库并签入 git bash?

How do I go to the cloned repo and check in git bash if there isn't already a remote repo linked with my local repo?

我使用哪些命令转到克隆的存储库,然后检查我是否尚未将远程存储库链接到我的本地存储库?

$ git init
Initialized empty Git repository in C:/Users/tomas/Desktop/Continuous Integration/CIB/Labo4/.git/
$ git remote add origin https://github.com/howest-gp-cib/st-1920-2-S1G2-labo4-arno-tomas.git
$ git status
On branch master

No commits yet

nothing to commit (create/copy files and use "git add" to track)
$ git clone https://github.com/howest-gp-cib/st-1920-2-S1G2-labo4-arno-tomas.git
Cloning into 'st-1920-2-S1G2-labo4-arno-tomas'...
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 7 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (7/7), 2.38 KiB | 110.00 KiB/s, done.

抱歉,如果我没有正确发布问题,这是我的第一个问题。

如果我理解这个问题,您想知道新创建的本地 git 存储库是否有现有的远程?这不会发生,但是对于您之前克隆的 repo 的现有本地副本,例如,您不记得是否添加了其他遥控器,请尝试 git remote -v——这将列出所有具有的遥控器已为存储库定义。