今天准备在win10上面安装git,想把代码发布到github中,按照教程的方法一步一步下来,当配置完ssh和用户名,邮箱之后,发现下拉不下来github中的代码,出现如下错误。

说是没有发现仓储,很是郁闷,通过ssh –T git@github.com发现连接是通的。

之后发现原来是教程顺序错误了,应该现在文件夹中git init让git标记此文件夹为版本库就好了。

要是嫌配置麻烦,直接clone下,就OK,就可以直接进行代码的编辑之后提交就可以。

转载于:https://www.cnblogs.com/netxiaohui/p/5785391.html

Not a git repository (or any of the parent directories): .git相关推荐

  1. 解决:fatal: not a git repository (or any of the parent directories): .git的问题

    解决:fatal: not a git repository (or any of the parent directories): .git的问题 提示说没有.git这样一个目录 解决办法: 在命令 ...

  2. Git 小问题:fatal: not a git repository (or any of the parent directories): .git

    超详细 Git 图文版小白教程(持续更新) 在clone仓库到本地后,执行命令提示:fatal: not a git repository (or any of the parent director ...

  3. ‘git’ 不是内部或外部命令,也不是可运行的程序或批处理文件;fatal: not a git repository (or any of the parent directories): .git

    一.'git' 不是内部或外部命令,也不是可运行的程序或批处理文件. cmd 里面运行git提示"不是内部或外部命令,也不是可运行的程序或批处理文件" 打开网址https://gi ...

  4. tortoiseGit clone大代码,报错 fatal: Not a git repository (or any of the parent directories): .git 问题

    https://blog.csdn.net/wenb1bai/article/details/89363588 规避方法 命令行中 git init git pull https://code.ali ...

  5. Error:fatal: Not a git repository (or any of the parent directories): .git

    在项目目录下执行git init命令. 大功告成. 转载于:https://www.cnblogs.com/diyishijian/p/7724866.html

  6. 解决 fatal: Not a git repository (or any of the parent directories): .git 问题

    在命令行 输入 git init  然后回车就好了 再重新执行添加文件的命令即可.

  7. Git错误:fatal: Not a git repository (or any of the parent directories)解决方法

    我用git add file添加文件时出现了这样错误: fatal: Not a git repository (or any of the parent directories): .git 提示说 ...

  8. Pixhawk---fatal: Not a git repository (or any of the parent directories)

      当从github.com上面下载下了Firmware后,无意中删除了Firmware目录下的.git文件夹,再去编译就会出现:   fatal: Not a git repository (or ...

  9. 【Git】fatal Not a git repository or any of the parent direc

    分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow 也欢迎大家转载本篇文章.分享知识,造福人民,实现我们中华民族伟大复兴! 登陆gi ...

  10. git 解决fatal: Not a git repository

    我用git add file添加文件时出现这样错误: fatal: Not a git repository (or any of the parent directories): .git 提示说没 ...

最新文章

  1. 除了计算机中的二进制还有哪些进位制,除了十进位制还有什么进位制
  2. Nginx如何实现支持HTTPS协议详细说明
  3. Android 的 ramdisk.img、system.img、userdata.img 作用说明,以及UBoot 系统启动过程
  4. 微软应用商店_微软自家的软件也放弃Windows 10
  5. LINUX--特殊权限SUID,SGID,Sticky
  6. sqlserver 事务日志 异常增长原因排查_小白入门学习打日志
  7. [html] 如何关闭HTML页面在IOS下的键盘首字母自动大写?
  8. 修改node_modules的包
  9. 2014年百度之星程序设计大赛 - 初赛(第二轮)JZP Set
  10. js结束当前循环关键词_干货||什么是事件循环机制
  11. 【ant项目构建学习点滴】--(3)打包及运行jar文件
  12. Qt_qDebug 原理详解
  13. 关于 onchange,onpropertychange,oninput事件
  14. Linux VPS 免费管理面板推荐
  15. 最新高品质+武汉城区建筑物范围面shp格式+小区大厦学校医院占地面积
  16. 无线Beacon帧解析
  17. 基因家族分析⑤:进化树构建
  18. 今天我们来聊聊,如何做好第三方系统对接
  19. 关于个人在遇到Synaptics后的处理方法
  20. 52、疏散楼梯的设计要求

热门文章

  1. springBoot笔记2
  2. matlab定位噪声位置,Matlab怎么样调节KALMAN滤波中的过程噪声和观测噪声
  3. 多标签图像分类任务的评价方法——mAP
  4. linux下设置好环境变量要重启计算机
  5. 卷积神经网络 第一周作业 Convolution+model+-+Application+-+v1
  6. caffe 实践程序2——用细分的方法实现caffe中cifar100的识别
  7. 20171017在线编程题
  8. 联想提取exe文件中的bios文件_3900不带X能干过99K吗?品牌机做视频渲染可以?联想刃7000P评测...
  9. Cmax最优但∑Ci不一定最优 例子
  10. C++ 单元测试框架 Boost Test BOOST_AUTO_TEST_CASE