问题
从github上下载了好多代码,有时候会把仓库的地址忘掉,如何查看自己是在哪里拉取的代码呢?
解决
进入项目的根目录,执行git remote -v,示例如下:
root@Windows /e/coder (workspace)
>git remote -v
origin https://github.com/DeemOpen/zkui.git (fetch)
origin https://github.com/DeemOpen/zkui.git (push)
问题
从github上下载了好多代码,有时候会把仓库的地址忘掉,如何查看自己是在哪里拉取的代码呢?
解决
进入项目的根目录,执行git remote -v,示例如下:
root@Windows /e/coder (workspace)
>git remote -v
origin https://github.com/DeemOpen/zkui.git (fetch)
origin https://github.com/DeemOpen/zkui.git (push)