我刚刚在工作中注册了一个github帐户并创建了一个新的存储库.我在命令行上运行了一些git命令,一切正常.
1. git init
2. git add .
3. git commit -m "first commit"
4. git remote add origin https://github.com/username/project.git
Run Code Online (Sandbox Code Playgroud)
然后,当我从sourcetree添加工作副本并单击Fetch按钮时,我收到"error:Repository Not Found".我尝试推拉,我得到同样的错误.我已经使用sourcetree和我的bitbucket和github存储库几个月了,但我从来没有遇到过这个问题.有没有人有类似的问题?
有没有办法干运行git push以了解用户是否有权实际创建新的远程分支?我希望能够验证一堆repos的权限,其中用户将在实际创建之前尝试创建新分支,以便在实际执行之前我可以干完全执行.
我想知道在 GitHub 中如何查看我对特定存储库的权限?如果网址是
https://github.com/org/repo
Run Code Online (Sandbox Code Playgroud)
我在哪里可以找到我拥有哪些权限(如果有)?