As suggested in Q22575737, I've updated my registry and have set git config --system core.longpaths true while working with long paths. The problem is solved in Git Bash for Windows however, I am getting the error in GitKraken as below. I've also enabled Long Paths = True from GitKraken preferences as suggested in Q60008822
Related information to OS and file system:
debmalya#DESKTOP-IPD20NF MINGW64 ~
$ git --version
git version 2.38.1.windows.1
GitKraken Client Version: 8.10.3 (x64)
Windows Specifications
======================
Edition Windows 10 Home Single Language
Version 22H2
Installed on 02-11-2022
OS build 19045.2130
Experience Windows Feature Experience Pack 120.2212.4180.0
.gitconfig file settings:
As a workaround, try and map a local folder to a drive letter
subst x: C:\your`\long\path\to\root\folder\of\repository
See if the issue persists when opening X:\ as your repository in GitKraken.
Related
I'm trying to set up a web development environment using a guide on Medium. The author says we need to install Git for both Windows and for Windows Subsystem for Linux. Git takes up a lot of space. Do we need to install it twice?
I have Visual Studio Code and Ubuntu (WSL). I also installed Git for Windows 10.
Git For Windows differs from the Linux Git.
So, if you want to execute commands in a Windows CMD and a Linux WSL shell, then yes, you would need to install both.
On Windows side, that can mean simply uncompressing the self-extracting archive PortableGit-2.22.0-64-bit.7z.exe anywhere you want, and add it to your PATH.
Just typing git at the command prompt (of powershell), takes 2.5 seconds until it returns with the help message.
I'm using the git for windows release, installed in C:\Program Files (x86)\Git. When I use cygwin (via babun), I get an error: Hint: your prompt is very slow. Check the installed 'BLODA' software. Maybe this is related? If it is, I'm using a corporate laptop, so can't uninstall antivirus or driver software, are there other options?
For me the reason seemed to be the "Inject ConEmuHk" setting in cmder under which I ran git. I've opened a bug https://github.com/bliker/cmder/issues/592
Try and see if the issue persists with the latest 2.4+ git for Windows release.
There is a bug related to the git bash startup time which is actively addressed.
I have been using the Github for Mac app and it works great.
This morning while launching the Github app I get the following message:
GitHub for Mac no longer installs Git
OS X 10.9 and later includes Git, so GitHub for Mac will no longer
install Git as part of its command line tools.
The version of Git you have installed through GitHub for Mac is no
longer supported. It's recommended that you uninstall it as soon as
possible.
[ Uninstall Git Later] [ Uninstall Git Now ]
Should I uninstall Git? Will I lose my git configs ?
Yes, you can uninstall Git (the one oncluded by GitHub for Mac)
You won't loose any configuration, unless you have been fiddling with git config --system.
Only the "system" config would have been modifying the installation folder of that embedded Git.
I have installed the current latest version of git for the mac. Previously I had git 1.8.5.2 version. I have installed GitHub gui as well https://mac.github.com/. I have setted correctly the PATH infact now when I write on the terminal git --version I get back the latest version 2.0.1. I have executed the .sh that come together the installation package named setup git PATH for non-terminal programs.sh. Now my question is: the github gui for mac os x which version of github uses? does it exist a wat to set up it?
Maybe I have found the solution. Inside github app there is a folder named resource and inside it there is a folder named git where there it the bin of git
I'm wondering what is the best way to setup Git on a Macbook Pro both OS X Mountain Lion 10.8 with Windows 8 Pro in Parallels?
I'm not too sure what is the best work flow. Should I be installing Git on both platforms or should I have all my files stored on one platform and install Git just on that?
The reason why I'm asking is because I intend to use Visual Studio on Windows for school projects and use Sublime Text/XCode to work on web development and iOS apps.
Thanks.
The best practice is to install Git on both workstations, each of them with a full repo.
Ideally, you would push from either workstation to a git repo hosting service like GitHub.
That way:
you get the full repo (with the full history for all files) on each computer
you can work on either one of them even without network
you can save your work on the cloud
The issue can be around setting.
See:
"File permission issue with Mac/Windows when using git":
git config --global core.filemode false
"Git (GitHub): Multiplatform development and autocrlf option?"
You can set autocrlf to true on OS X as well as on Windows in your case.
(even though I prefer it set to false)