[Tool] SourceTree初始化GitFlow遇到错误(git command not found)的解决方案
[Tool] SourceTree初始化GitFlow遇到错误(git command not found)的解决方案
问题情景
使用SourceTree,可以方便开发人员快速的套用GitFlow开发流程。但是在安装完SourceTree、Clone Repository之后,准备透过SourceTree来初始化GitFlow相关设定时,某些开发环境里,会出现下列错误讯息:「git: command not found」。
解决方案
上网找了一下资料,针对「git: command not found」这个问题,可以发现是环境变量里,Path没有加入Git执行路径的参考:
- Git: Command not found Windows - SuperUser
要解决这个问题,开发人员只需要在Path里加入Git执行路径的参考:「C:\Program Files\Git\cmd」,并且重启SourceTree,就可以正常的使用SourceTree来初始化GitFlow。
转载于:https://www.cnblogs.com/clark159/p/4857299.html
[Tool] SourceTree初始化GitFlow遇到错误(git command not found)的解决方案相关推荐
- 【错误记录】Git 使用报错 ( git: ‘switch‘ is not a git command. See ‘git --help‘. )
文章目录 一.报错信息 二.解决方案 一.报错信息 执行 git switch -c feature1 命令 , 创建分支 , 报如下错误 : D:\Git\git-learning-course&g ...
- 解决credential-cache‘ is not a git command. See ‘git --help
昨天使用sourceTree下载gitee上面的仓库代码碰到一个问题: 命令: git -c diff.mnemonicprefix=false -c core.quotepath=false --n ...
- linux go missing git command,安装beego出现go: missing Git command
安装beego报下面的错误: go build -ldflags "-linkmode external -extldflags -static" -o go-admin main ...
- Jenkins踩坑:Failed to connect to repository : Error performing git command: git ls-remote -h http://17
1.问题描述 Jenkins搭建好之后,使用Jenkins新建构建任务,在填写git地址时,一直报错 Failed to connect to repository : Error performin ...
- Commitizen安装注意事项 git cz git: ‘cz‘ is not a git command
vscode git: 'cz' is not a git command报错 出现如图错误提示请检查是否全局安装的commitizen 1.windows 全局安装commitizennode模块 ...
- git: ‘remote-https‘ is not a git command. See ‘git --help‘.
github desktop给GitHub上传文件时中的常见错误及解决办法 `git: 'remote-https' is not a git command. See 'git --help'.` ...
- SourceTree下GitFlow的使用
1.准备工作 sourceTree的下载安装,git中项目的创建,自行百度 2.Git Flow的流程图 3.初始化 首先,下载工程,点击"clone",输入git工 ...
- git: ‘lfs‘ is not a git command. See ‘git --help‘的解决方案
大家好,我是爱编程的喵喵.双985硕士毕业,现担任全栈工程师一职,热衷于将数据思维应用到工作与生活中.从事机器学习以及相关的前后端开发工作.曾在阿里云.科大讯飞.CCF等比赛获得多次Top名次.现 ...
- -bash: git: command not found
-bash: git: command not found 执行命令: yum install -y git
最新文章
- NET130署名错误一事,改正也着实迅速
- Matlab常用函数流水账
- Nebula3学习笔记(6): 网络系统
- 在Windows上编译最新版本的Hashcat
- 获取国内国外flink的mailing list技术支持
- Intel 64/x86_64/IA-32/x86处理器 - 指令格式(7) - 80386/32位指令格式概述
- mysql 5.74安装教程_MySQL数据库作为关系型数据库中的佼佼者,因其体积小,速度快,成本低,不仅受到了市场的极大追捧,也受到了广大程序员的青睐。接下来,就给大家说一下,MySQL的...
- 删除曾经使用过的USB设备记录
- 捷联惯导系统学习6.13(状态估计的误差分配与可观测度分析 )
- 妄想山海测试服下载for android,妄想山海测试服
- Cache的Insert 和Add 方法引发的血案
- 基于zynq的千兆网udp项目_米联客 ZYNQ/SOC 精品教程 S05-CH03-UDP千兆光通信
- MyBatisPlus-基础CRUD操作
- gitbook 入门教程之还在搞公众号互推涨粉?gitbook 集成导流工具,轻轻松松躺增粉丝!
- 分享一个jQuery的自动客户端本地保存插件Sisyphus.js - 帮助你自动保存用户输入内容
- 3D游戏建模怎么接外包
- Css、less和Sass(SCSS)的区别
- python办公笔记分享
- 面试题总结(测试理论)
- php如何开启电脑前置摄像头像素多少,Surface Pro 4有摄像头吗?摄像头像素是多少?...