git初步使用之push 错误:fatal: The remote end hung up unexpectedly
来源:互联网 发布:网络舆情监测员职责 编辑:程序博客网 时间:2024/04/23 14:13
前面建立工程等,大概步骤如下:
git --bare init
git clone
添加文件后,
git add
git commit
后,
ckt@ckt-desktop:~/haha_test/test1/local0$ ls
brom.dll META_APP.dll NvramToolDlg.h Resource.hbrom.h METAAPP.h NvramTool.dsp StatusStatic.cpp
brom.lib META_APP.lib NvramTool.dsw StatusStatic.h
ChipSelect.cpp META_DLL.dll NvramTool.h StdAfx.cpp
ChipSelect.h META_DLL.lib NvramTool.ncb StdAfx.h
com_enum.h meta.h NvramTool.opt uart.h
ComSelect.cpp mtk_mcu.h NvramTool.plg Util.cpp
ComSelect.h NvramTool.aps NvramTool.rc Util.h
Debug NvramTool.clw ReadMe.txt
ExtClockSelect.cpp NvramTool.cpp Release
ExtClockSelect.h NvramToolDlg.cpp res
ckt@ckt-desktop:~/haha_test/test1/local0$ git pull
Your configuration specifies to merge with the ref 'master'
from the remote, but no such ref was fetched.
ckt@ckt-desktop:~/haha_test/test1/local0$ git fetch
ckt@ckt-desktop:~/haha_test/test1/local0$ ls
brom.dll META_APP.dll NvramToolDlg.h Resource.h
brom.h METAAPP.h NvramTool.dsp StatusStatic.cpp
brom.lib META_APP.lib NvramTool.dsw StatusStatic.h
ChipSelect.cpp META_DLL.dll NvramTool.h StdAfx.cpp
ChipSelect.h META_DLL.lib NvramTool.ncb StdAfx.h
com_enum.h meta.h NvramTool.opt uart.h
ComSelect.cpp mtk_mcu.h NvramTool.plg Util.cpp
ComSelect.h NvramTool.aps NvramTool.rc Util.h
Debug NvramTool.clw ReadMe.txt
ExtClockSelect.cpp NvramTool.cpp Release
ExtClockSelect.h NvramToolDlg.cpp res
ckt@ckt-desktop:~/haha_test/test1/local0$ git push
No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
fatal: The remote end hung up unexpectedly
error: failed to push some refs to '/home/ckt/haha_test/test1/m0'
ckt@ckt-desktop:~/haha_test/test1/local0$ git push origin master 这句话很关键,不然 出现 fatal: The remote end hung up unexpectedly错误
Counting objects: 82, done.
Delta compression using up to 2 threads.Compressing objects: 100% (81/81), done.
Writing objects: 100% (82/82), 13.34 MiB | 3.20 MiB/s, done.
Total 82 (delta 18), reused 0 (delta 0)
Unpacking objects: 100% (82/82), done.
To /home/ckt/haha_test/test1/m0
* [new branch] master -> master
ckt@ckt-desktop:~/haha_test/test1/local0$ git branch
* master
ckt@ckt-desktop:~/haha_test/test1/local0$
- git初步使用之push 错误:fatal: The remote end hung up unexpectedly
- git push错误;fatal: The remote end hung up unexpectedly
- git push错误;fatal: The remote end hung up unexpectedly
- BAE使用git push出现错误:fatal: The remote end hung up unexpectedly
- git fatal: The remote end hung up unexpectedly 错误
- Git中push时出现错误fatal: The remote end hung up unexpectedly
- git、github push文件过大异常git-fatal the remote end hung up unexpectedly 解决方法
- Git push 报错 fatal: the remote end hung up unexpectedly
- git fatal: the remote end hung up unexpectedly
- Git fatal: The remote end hung up unexpectedly
- Git: fatal: The remote end hung up unexpectedly 解决方法
- Git异常fatal:The remote end hung up unexpectedly
- Git, fatal: The remote end hung up unexpectedly
- Git: fatal: The remote end hung up unexpectedly 解决方法
- fatal: the remote end hung up unexpectedly
- fatal: the remote end hung up unexpectedly
- fatal: the remote end hung up unexpectedly
- fatal: the remote end hung up unexpectedly
- Java对象序列化使用基础
- 数据结构之-------优化的冒泡排序
- android 存储 SharedPreferences
- android SQLite数据库
- android 四大重要的组件之ContentProvider
- git初步使用之push 错误:fatal: The remote end hung up unexpectedly
- linux mint 12 挂载移动硬盘后的移除问题
- Ubuntu11.10下编译安装vim7.3&vimgdb
- 【从头学android】第二个程序同一个Activity中,切换布局时监听器失效解决方法1
- Java定时任务的实现
- vim 编码方式(encoding、fileencoding、fileencodings、termencoding) 详解
- Java对象存储到Oracle数据库
- 如何在RHEL6上配置PAM LDAP认证(How to setup LDAP Authentication for PAM on RHEL6 x86_64)
- 用drip工具测试并解决ie window.open 带来的内存泄漏