git 错误 fatal: Not a valid object name: 'master'.

简介: 想新建立一个分支时出现这错误。后来发现,要先commit一次才会真正建立master分支,此时就可以新建立分支了。。

想新建立一个分支时出现这错误。

后来发现,要先commit一次才会真正建立master分支,此时就可以新建立分支了。。

相关文章
|
安全 网络安全 开发工具
git 提示:fatal: Could not read from remote repository.
git 提示:fatal: Could not read from remote repository.
633 0
git 提示:fatal: Could not read from remote repository.
|
6天前
|
网络安全 数据安全/隐私保护
解决git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Pleas
解决git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Pleas
|
18天前
|
开发工具 git
完美解决git 执行git push origin master指令 报错command not found
完美解决git 执行git push origin master指令 报错command not found
26 0
|
27天前
|
开发工具 git 开发者
git 解决(master|REBAS1/1)
git 解决(master|REBAS1/1)
19 0
|
27天前
|
开发工具 git
对于github不同的分支main或者master,git拉取代码的时候怎么拉取不同分支的代码
对于github不同的分支main或者master,git拉取代码的时候怎么拉取不同分支的代码
24 1
|
6月前
|
网络安全 开发工具 git
git clone之报错git@gitee.com:Permission denied (publickey).fatal: Could not read from remote repository
git clone之报错git@gitee.com:Permission denied (publickey).fatal: Could not read from remote repository
188 0
|
8月前
|
开发工具 git 开发者
解决fatal: not a git repository (or any of the parent directories): .git问题
解决fatal: not a git repository (or any of the parent directories): .git问题
1084 1
|
5月前
|
开发工具 git
解决:fatal: not a git repository (or any of the parent directories): .git的问题
解决:fatal: not a git repository (or any of the parent directories): .git的问题
|
6月前
|
开发工具 git
git push origin master提交报错解决办法
git push origin master提交报错解决办法
79 0
|
6月前
|
开发工具 git Windows
git报错-fatal: HttpRequestException encountered.
git报错-fatal: HttpRequestException encountered.
28 0

相关实验场景

更多