I am developing on a Linux machine. It happened once that I added a file ‘sin(x):2.tex’ or something similar. This caused some trouble for a friend who uses a Windows system and wanted to clone my repository. I know there are much more invalid file names on Windows than on Linux. Is there a possibility […]
I’m trying to run gitk on Windows but the console gives me: ‘gitk’ is not recognized as an internal or external command, operable program or batch file. But then, I can do > where gitk C:\Program Files (x86)\Git\bin\gitk How comes?
I’m running git bash in Windows and it’s a tad annoying to have to put in “git” for every command. I only run git commands in this bash window. Is there any way to get around this? EDIT: Ok, this is a pretty bad question because bash can be used for so many things, and […]
(A) My .git/hooks/pre-commit is #!c:/cygwin/bin/bash.exe # /cygdrive/c/tmp/a.sh An error shows when I run ‘git commit’ .git/hooks/pre-commit: line 8: /cygdrive/c/tmp/a.sh: No such file or directory (B) If .git/hooks/pre-commit is #!c:/cygwin/bin/bash.exe # c:/cygwin/bin/bash.exe /cygdrive/c/tmp/a.sh The error becomes /usr/bin/bash: C:/Program Files (x86)/Git/cygdrive/c/tmp/a.sh: No such file or directory (C) But in cmd this can run c:\>c:\cygwin\bin\bash.exe /cygdrive/c/tmp/a.sh The question […]
I have a git repository that at a beginning works fine (or as good as one can expect on windows), but after 1 week (or so) the repo is getting slower, when I try to run git fetch (and any command using fetch). The terminal freezes for a few minutes and then the fetch begins, […]
I have 5 submodules and a git submodule update takes 6-8 seconds. The same git submodule update command on the same repo in ubuntu 13.10 takes 0.4 seconds. In order to resolve this, I’ve tried everything listed in these two questions: Msysgit bash is horrendously slow in Windows 7 Git/Bash is extremely slow in Windows […]
I’ve got a computer with windows 7 in which I’ve recently installed Git (with Vim inside the Git directory). I tried installed pathogen and apparently it is installed correctly since there are no error messages with pathogen in autoload. My _vimrc is located in Users/Username which is $HOME and it the following is relevant to […]
I’m using bitbucket and on my laptop I cannot use git to clone the repository. I’m getting an error: Permission denied(publickey). How can I fix this? I don’t remember setting a public key but if I did apparently it doesn’t work. (I’m using windows.)
Hi I’m working with GitBash to create a directory for my project, and then to clone the project from GitHub.com/… But the directory never appeared in Windows Explorer. To be detailed: I create a directory using mkdir TestForStackOverFlow I clone the project from GitHub.com using git clone https://github.com/udacity/Sunshine-Version-2.git but i can’t access this directory with […]
I’ve following vimrc settings for Python environment, that works fine if I open GitBash directly: ” enable syntax highlighting syntax enable ” show line numbers set number ” set tabs to have 4 spaces set ts=4 ” indent when moving to the next line while writing code set autoindent ” expand tabs into spaces set […]