git push . :refs/for/foo 意思
来源:互联网 发布:js跳转代码 编辑:程序博客网 时间:2024/05/21 18:46
The ".
" argument means "push to this repository", and the refspec HEAD:refs/for/foo
means "take the current commit that HEAD is pointing to, and make a new ref (similar to a branch, although those are usually stored as refs/heads/something
) named refs/for/foo
that points to the same commit".
Essentially, it's creating a new "branch" at the current commit, but since the desired name isn't in the normal branch name-space, we can't just use git branch refs/for/foo
.
You should be able to undo it with git push . :refs/for/foo
- naming an empty source to replace the ref with.
- git push . :refs/for/foo 意思
- [Git] 关于refs/for/ 和refs/heads/
- [Git] 关于refs/for/ 和refs/heads/
- [Git] 关于refs/for/ 和refs/heads/
- [Git] 关于refs/for/ 和refs/heads/
- git中refs/for 和refs/heads
- git push error report: ! [remote rejected] master -> refs/for/master (no new changes)
- failed to push some refs to git
- git push 失败 error:failed to push some refs to ...
- 提交git push 时failed to push some refs to
- git-push报错failed to push some refs to
- git push提交代码出现“One or more refs/for/ names blocks change upload”问题的解决办法
- git如何解决failed to push some refs to git
- git错误failed to push some refs to git
- Git--如何解决failed to push some refs to git
- git错误:error: failed to push some refs to
- Git error (failed to push some refs)解决
- error: failed to push some refs【Linux】【Git】
- Oracle字符串函数
- JavaDoc生成chm帮助文件
- 子串分离
- FreeMarker 语法
- bluetooth 目录
- git push . :refs/for/foo 意思
- Oracle GoldenGate和Dataguard以及stream复制的区别
- 算法时间复杂度和空间复杂度
- 理解 linux contain_of() 宏
- MFC对话框如何使用工具栏并修改工具栏的背景颜色与自绘对话框统一(二)
- 那些年,我们一起读过的《JAVA与模式》
- Java中常见的问题
- 算法复习之动态规划_03
- C#制作印章