git-for-windows

Maven classworlds.launcher.Launcher error in Git for Windows (64-bit)

左心房为你撑大大i 提交于 2019-11-29 12:55:35
问题 I've been using Maven on Git Bash (64-bit) for a few months now, and suddenly it stopped working, and is now generating this error on any maven command: myuser@mypc MINGW64 ~ (master *) $ mvn -v Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher I have reviewed many questions on SO, including this one: Maven error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher but have not solved my problem. I have upgraded to the

“Git error: could not lock config file C:/Users/old_profile/.gitconfig: No such file or directory” after profile migration

混江龙づ霸主 提交于 2019-11-29 02:34:19
I have an interesting error that keeps coming up when using git for windows (version 2.12.0.windows.1). I recently migrated my windows profile directory from one location to another. For some git commands I get the error: error: could not lock config file C:/Users/<my old profile>/.influxdb/.gitconfig: No such file or directory error: could not lock config file C:/Users/<my old profile>/.influxdb/.gitconfig: No such file or directory Note: This error always comes up twice, for example if I try to do git config --global diff.tool p4merge What is interesting is that this folder it's looking for

在Windows中运行Linux bash命令的几种方法

最后都变了- 提交于 2019-11-28 13:26:01
如果你正在课程中正在学习 shell 脚本 ,那么需要使用 Linux 命令 来练习 命令 和 脚本 。 你的学校实验室可能安装了 Linux,但是你自己没有安装了 Linux 的笔记本电脑,而是像其他人一样的 Windows 计算机。你的作业需要运行 Linux 命令,你或许想知道如何在 Windows 上运行 Bash 命令和脚本。 你可以在双启动模式下同时安装 Windows 和 Linux。此方法能让你在启动计算机时选择 Linux 或 Windows。但是,为了运行 Linux 命令而使用单独分区的麻烦可能不适合所有人。 你也可以使用在线 Linux 终端,但你的作业无法保存。 好消息是,有几种方法可以在 Windows 中运行 Linux 命令,就像其他常规应用一样。不是很酷吗? 在 Windows 中使用 Linux 命令 作为一个热心的 Linux 用户和推广者,我希望看到越来越多的人使用“真正的” Linux,但我知道有时候,这不是优先考虑的问题。如果你只是想练习 Linux 来通过考试,可以使用这些方法之一在 Windows 上运行 Bash 命令。 1、在 Windows 10 上使用 Linux Bash shell 你是否知道可以在 Windows 10 中运行 Linux 发行版? Windows 的 Linux 子系统 (WSL) 能让你在

Git Extensions “function not implemented”

守給你的承諾、 提交于 2019-11-28 07:34:59
问题 I'm trying to use Git Extensions on a new Windows 7 machine. I have done that many times before but never hit this particular issue. Git Bash is working, I successfully cloned a repository. But going to Git Extensions, opening the repo, and doing a pull gives me the following error message: "C:\Program Files (x86)\Git\bin\git.exe" pull --progress "origin" error: cannot spawn git: Function not implemented Done Press Enter or Esc to close console... My setup is very ordinary. The Git Extensions

自用国内常用镜像(20190918更新)

Deadly 提交于 2019-11-27 20:39:25
国内开源镜像: 腾讯开源镜像 https://opsx.alibaba.com/mirror 阿里开源镜像 https://mirrors.cloud.tencent.com/ nuget(cnblogs国内镜像): https://nuget.cnblogs.com/v3/index.json php(composer国内镜像): 国内composer下载地址: https://mirrors.aliyun.com/composer/composer.phar https://packagist.phpcomposer.com https://mirrors.aliyun.com/composer/ 打开命令行窗口(windows用户)或控制台(Linux、Mac 用户),进入你的项目的根目录(也就是 composer.json 文件所在目录),执行如下命令: composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ nodejs(npm国内镜像): https://npm.taobao.org/ npm set registry=https://registry.npm.taobao.org # 注册模块镜像 npm set disturl=https://npm.taobao