Tag: windows

/mingw32/libexec/git-core/git-sh-setup: 30: Syntax error: word unexpected (expecting “)”)

I’m running git bash (2.7.4) on windows 7, and cannot use certain Git commands (rebase/stash) for example. throwing an error: /mingw32/libexec/git-core/git-sh-setup: 30: Syntax error: word unexpected (expecting “)”) Other basic commands like pull and push work okay. Since upgrading from git 1.9 these commands fail. EDIT It may also be worth noting that git commands […]

Matlab R2013b (64-bit) cannot integrate git (64-bit)

I am trying to set up git integration for MATLAB R2013b for my company. I have a 64-bit matlab version and a 64ibit git version (downloaded from https://git-for-windows.github.io version 2.6.3 portable) git is correctly found as I can run ! git –version on the MATLAB shell However, going to Preferences->General->Source Control gives the following message […]

Using git to transfer data via usb stick between Windows and Linux

I am trying to use git for the first time in order to transport my bachelor thesis that I am currently writing between a Windows computer at work and a Linux computer at home. Because I don’t have a server I would like to use a USB stick to store the shared repository. From this […]

git stash not working after windows reinstall

I recently re-installed windows. Now, when executing git stash on any of my github repositories, an error message is returned: $ git stash Cannot save the current worktree state That’s everything I get. Trying git -v stash was of no help as stash doesn’t seem to have a verbose mode. There are no other changes […]

composer install does not use ssh key on private repo (permission denied publick key)

I have a laravel project with some dependencies to private packages, secured trough ssh, working on windows 10 with laragon. On composer install I get a permission denied (public key), however if I clone the repo directly I get my regular prompt to type the ssh-key password for authentication and the clone works with no […]

How to handle case sensitive branches on Git over Windows

A project I’m working on have two branches named as: Feature/something and feature/something I need to work in both for a while On Windows I’m facing errors using GitBash and AndroidStudio. After doing checkout of the Feature/something, on pull or fetch I receive the following error: git fetch error: cannot lock ref ‘refs/remotes/origin/Feature/something’: is at […]

git commit throws error '[<-'

Does anybody have an idea, how I can fix this? git commit -a -m “message here works fine for other projects and previous commits this day were all ok. Now, it throws the error: Error in [<-(*tmp*, 1, “Date”, value = “2016-07-29”) : Indizierung außerhalb der Grenzen Ausführung angehalten The error message is something like: […]

SSH Failure using Git For Windows

I’m using Git For Windows (not msys or GitHub) in my build server scripts. We have a self-hosted BitBucket repository with an SSH access key configured. I’m trying to do an initial clone in my build scripts via the command line and it is failing with an SSH error/ Here is my environment: Windows Server […]

Git bash can't access home directory on fresh machine

I have just got my new laptop (Windows 7) and wanted to clone first repository. I’m using ssh connection and private key. To my surprise, git bash can’t see my home directory to work with .ssh default directory: $ git clone git@bitbucket.org:<blablabla> Cloning into ‘XXX’… Could not create directory ‘/u//.ssh’. The authenticity of host ‘bitbucket.org […]

How do I set Windows environment paths in current Puppet session?

I’m trying to install git and use it in the same puppet script package { ‘git’: ensure => latest, provider => ‘chocolatey’, } vcsrepo { ‘C:/’: provider => git, source => ‘github etc…’, } However, I’m getting: Provider git is not functional on this host The correct path is included in Environment Variables which leads […]

Git Baby is a git and github fan, let's start git clone.