Tag: windows

msysgit: option to not set hidden flag

I’m using msysgit and for files starting with a slash, e.g. .classpath it automatically sets the hidden flag which makes it impossible for IDEs to overwrite it. How to prevent setting this hidden flag?

Build from GIT Repository

I’m trying to build geoexplorer.war from github : https://github.com/boundlessgeo/suite/tree/master/geoexplorer, I already Installed maven, Java, Ivy, Ant, Python, Git for windows, Ruby. But still I cant build geoexplorer.war , it said no POM. According to Instruction I use mvn install [INFO] Scanning for projects… [INFO] ———————————————————————— [INFO] BUILD FAILURE [INFO] ———————————————————————— [INFO] Total time: 0.148 s […]

working with git on not connected computers

I sometimes work in projects where I do development on two computers which are not connected. A typical example is creating reports in BIDS. The workflow looks like this: I create a project/folder in corporate TFS Use git-tfs to create local git repository Develop the report and commit to local repository (and some checkins to […]

Execute git cmd via node.js on windows fails with err

git is installed on windows and works from any directory (it is in System path) var child_process = require(‘child_process’); child_process.exec(‘git –version’, function(err, stdout, stderr) { // stdout is correct – git version 1.7.11.msysgit.1 // but err is not null // err is [Error: Command failed: ] killed: false, code: 1, signal: null } } What […]

File permission issues when developing with Windows / hosting with Unix

I am developing a website on my windows laptop, and I use Git for the version control. When I add my files to Git, they are added under the mode 644. The problem is, on my Linux server, I need the files to be 775. So what I do is, every time I deploy, I […]

Passworded ssh key suddenly does *not* require that I type the password

I use console2 in combination with git bash in order to interact with my local git repositories and by extension several github and bitbucket repositories also. I use an ssh key pair to authenticate myself to these services, howevermy ssh key pair has an associated password. This morning I found that I was no longer […]

Can't clone git repo on windows when some file names contain asterisk

I have files with the following name in my repository: *.example.com.crt The thing is that I can’t clone the repository on windows. error: unable to create file *.example.com.crt (Invalid argument) Checking out files: 100% (6122/6122), done. fatal: unable to checkout working tree warning: Clone succeeded, but checkout failed. Do you know any workaround for that?

Git instaweb on windows? got a error

Is it possible to use instaweb on windows? I have a bare repository at D:/myrepo and I want to use instaweb to see it like this I have tried this command git instaweb –httpd=webrick But I got this error git: ‘instaweb’ is not a git command. See ‘git –help’. Thanks in advance.

use cd in windows .bat file has no effect

i want to run git pull in a path for all projects, so i wrote a bat file. @echo off setlocal enabledelayedexpansion set dir=%1 if “%dir%”==”” ( set dir=%~dp0 ) for /D /R “%dir%” %%i in (*) do ( if exist %%i\.git ( cd /d %%i rem no effect echo %cd% rem git pull ) […]

Git: Unable to discard changes due to line endings?

“Out of the blue” I’ve started having this issue with a git repository that I have hosted on GitHub. Whenever I pull a remote branch to my computer (even on the first clone of the repository) an arbitrary (?) set of files appear as “Changes not staged for commit”. I am running on Windows 8.1 […]

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