Git is an open source distributed version control system originally designed and written by Linus Torvalds. It is generally used to keep track of source code for software projects. As a DVCS, Git provides powerful help with branching, merging, and distributed development.

learn more… | top users | synonyms

1
vote
0answers
29 views

Start Git Bash from users directory

I am running the latest version of git on Windows. When I start Git Bash (Running MINGW32) from my start menu it starts git from my users home directory. When I pin the window to the task bar and then ...
1
vote
0answers
32 views

Why does git create iso-8859-1 encoded _BASE files for mergetool if the local and remote files are utf-8 encoded?

When issuing git mergetool after git pull origin master DiffMerge which is set up as merge tool complains that the _BASE file can't be opened with UTF-8 encoding. file -I [path to _BASE file] shows ...
1
vote
0answers
24 views

Git push over SSH is not activating remote hooks

I have the following problems that git push over SSH is not activating remote hooks. The server where Git repo is Linux ubuntu. Git version 1.7.9.5 My path to repo hooks /path/test.git/hooks/update; ...
1
vote
0answers
46 views

Git server side hooks commit update file

I am trying to implement git hook commit on a server using these instructions: https://git-scm.com/book/be/v2/Customizing-Git-An-Example-Git-Enforced-Policy I created file "update" (make it ...
1
vote
0answers
122 views

Set-up GIT deployment on server running plesk

I have a lot of experience with Linux/Unix based systems. I've been setting up many GIT deployments, from my own administered dedicated stacks, shared hosts, Debian, CentOS, RHEL, OpenBSD. Yet one ...
1
vote
0answers
30 views

Git: Push a tag to a new remote branch in 1 command

Git push accepts a source and destination refspec as part of the push operation, but I can not seem to push a local tag as a new remote branch in a single command. I am aware I could checkout the tag ...
1
vote
0answers
35 views

How to properly match newline with zsh regex?

for my prompt i am trying to parse the current git branch out of the resulting text of the git status command. For example, it returns: On branch master nothing to commit, working directory clean ...
1
vote
0answers
42 views

Can't push to git on local server (public key) auth and then disconnect

I recently setup a local test server with Gitlab following this guide https://www.digitalocean.com/community/tutorials/how-to-set-up-gitlab-as-your-very-own-private-github-clone I am trying to make ...
1
vote
0answers
52 views

How do I pull changed file names from a git commit and put them as variables in an ftp upload command

I need to ftp files on a regular basis, even though I still use git to update a code base. So, the workflow is I do my git work and then use Cyberduck to connect and ftp the same files to basically a ...
1
vote
0answers
69 views

Disable read-only flag on git object and pack files

In all my local git repos all of the object and pack files (.git\object\pack) are read-only... I understand why this is but it's really messing with my attempt to sync my machine to my Synology NAS. ...
1
vote
0answers
276 views

Jenkins not able to poll Git repository

I'm setting up Jenkins on a Tomcat 7.0 in a Windows machine and I'm having some trouble trying to retrieve the content of a Git repository on a Unix machine. When I input the repository url, I get ...
1
vote
0answers
298 views

Github Desktop has stopped working (after updating to windows 10)

After updating to windows 10: Everytime i run Github Desktop the error "Github has stopped working" pops up. Microsoft Visual Studio debug retrieves this message: "System.IO.FileLoadException was ...
1
vote
0answers
344 views

How to configure .bashrc for git-for-windows?

I used Git Bash for Windows with Version 1.9.5 on my Windows 7 (64bit). I added a .bashrc and a .gitconfig in my %USERPROFILE% folder (C:\Users\<USERNAME>\). Everything worked fine. Now i ...
1
vote
0answers
47 views

How to checkout a remote git branch, on the remote machine?

I keep a simple set of Pandoc-generated HTML files on a server, and I have decided to use git for version control. I never edit files directly on the server, so I keep a branch checked out there on ...
1
vote
0answers
158 views

File is corrupted when pusing to Git repo on BitBucket

This has happened twice. The first time to 4 or 5 files. The second time to just one, but I was only pushing one at the time. I am using Visual Studio 2013 to edit PowerShell scripts. I don't know if ...
1
vote
0answers
53 views

Cannot install git-credential-winstore

I get this error pop-up when I try to install Git-Credential-Winstore on Windows 8.1 x64 Enterprise. When I click Debug, I get the following error message. An unhandled exception of type 'System....
1
vote
0answers
32 views

MinGW Git Bash observable progress output inconsistency across machines

I am getting inconsistent behavior across installations of Git Bash on different Windows 7 machines. The diff in behavior is fairly minor, but I'd like to understand what could be responsible for the ...
1
vote
0answers
423 views

GIT: stuck with “fatal: pathspec … did not match any files” :-(

I'm totally newbie with GIT, but in simple cases I've been using it to controll my website and changes made on it. I've been using in my website librarry called "mpdf", which i've updated repleacing ...
1
vote
0answers
93 views

Using diff-highlight with Git GUI

Is there a way to use diff-highlight with git gui? The extra highlighted info is invaluable when comparing lines that only changed a bit, and while using diff-highlight from the terminal (described ...
1
vote
0answers
40 views

How to test whether one git commit can reach another?

I have two git commit IDs. How can I tell if either is a derivative of the other (and if so, which one)? In other words, can one git commit reach the other git commit by following parent commit ...
1
vote
0answers
87 views

GitLab.com times out on Linux

I'm currently using Linux Mint 17 on my laptop and I'm almost unable to work with GitLab. The issue is pretty weird: GitLab.com times out every time I want to save my profile info GitLab.com times ...
1
vote
0answers
131 views

How to show git branch in Emacs shell

How can I show the current git branch as part of the Emacs shell prompt? For example, I have this in my ~/.bash_profile (I'm on Mac OSX 10.9 Terminal): parse_git_branch() { git branch 2> /dev/...
1
vote
0answers
28 views

Issue pushing git commits with large files to AWS

I'm running Phabricator on AWS and pushing to git over http. If I push commits with large files the push will terminate with an EOF. Originally this was because there wasn't enough memory. I "fixed" ...
1
vote
0answers
58 views

I get three related errors when trying to push a commit to github concerningproc/10/exe. What should I do?

When trying to commit to github I get these errors after I type the command $ git add . $ error: readlink("proc/10/exe"): No such file or directory $ error: unable to index file proc/10/exe $ ...
1
vote
0answers
90 views

Best practice to host self-maintained Debian packages on GitHub

This question is especially about the best practice to host self-maintained Debian packages on GitHub. Here is my dilemma: It is commonly recommended not to put the debian folder within the source ...
1
vote
0answers
1k views

SSH authentication fails when trying to access Bitbucket from Jenkins

I'm trying to currently set up a Jenkins CI-server in Azure that pulls the project from Bitbucket and runs the tests. CI-server is running Ubuntu 14.10. I got the server running, and I generated ssh-...
1
vote
0answers
59 views

How to upgrade Git in Aptana Studio 3

I just did an update to Aptana Studio 3 to the latest version but unfortunately it did not update the git binary in the built-in shell facility. How do I update git (more precisely msysgit) in Aptana ...
1
vote
0answers
251 views

Windows Null not Working Correctly

GitHub for Windows is not working correctly, citing a /dev/null error. I have since discovered that Windows' null.sys and Null device may have something to do with it, as running dir > nul returns ...
1
vote
0answers
30 views

git svn “unable to chdir up to '.'”

I use a local git with a SVN remote server, everything works fine but after my last reboot I get the following error with everything related to git svn. unable to chdir up to '.'
1
vote
0answers
418 views

why my file permission being changed after pull from git repository

I have been came across this problem over and over again. I have a git repository set up on my remote server and all the files are set to 644 and folders are set to 755. However, every time after i ...
1
vote
0answers
369 views

Idle TeamCity agents dont take compatible tasks from queue

I have new TeamCity 8.1.3 and one task in build queue and compatible enabled agent. But agent is idle. I tried to re-install teamcity, re-install buildAgent and install agent on another machine. ...
1
vote
0answers
69 views

Git LF checked out as CRLF, marked as changed, checked back in as LF

I have a file in a project. The project is something that was passed to me and has a lot of CRLF/LF mismatching. I've added a rule in my .gitattributes to set the file to LF on commits eol=lf all good ...
1
vote
0answers
518 views

Synchronizing two Git servers between companies

There are two companies. Each one has a Git server running. If company A checks in some code this should be updated on company B server and the other way around. The two servers should keep ...
1
vote
0answers
139 views

Working git from the command line

So I use Github for Windows (that fancy GUI app) to manage my various git-based projects, but I've noticed that on my machine I can't use the command line git to do anything with my projects. From the ...
1
vote
0answers
176 views

Git does not prompt for ssh key password

I have an ssh key which is password protected. When I attempt to SSH into a remote computer (ssh user@example.com), I get a little dialog which prompts me for the password. Once I have provided the ...
1
vote
0answers
153 views

git corrupted on ubuntu vbox, power failure with proper shutdown

i use git on ubuntu headless server on virtualbox on my laptop. when i shut down the pc, i don't bother shutting down the virtualbox, i just shutdown the pc. it never was a problem. it was fine since ...
1
vote
0answers
1k views

AWS git clone or pull not working and no error message

In one of AWS/AMI instance, I'm trying to git clone ... it says Cloning into '<repo name>'... but it doesn't clone the repository and not showing any error or any other messages, I have also ...
1
vote
0answers
124 views

Git suddenly started to choke on “git pull” for only one repo

Yesterday, at some point in time, my Git for Windows suddenly started to choke (hang forever) on git pull for only one repo. I managed to pull changes ten times this day, I started to fail on eleventh ...
1
vote
0answers
200 views

Right click when git is installed

When I install git on a fresh copy of Windows 8.1 embedded, right clicking on folders takes 3-4 seconds. If I remove git, right clicking takes the normal amount of time again. How can I reduce the ...
1
vote
0answers
115 views

Using SparkleShare with Git

I am using SparkleShare, but someone I am working with would be more comfortable using git. Can he use my SparkleShare repository by just using git? Here's what I know. If I go to my local ...
1
vote
0answers
492 views

Cannot fetch urls from outside the browser

I am trying to clone a small repo on my Windows 7 PC using 'msysgit' bash command like as follows: talha.ahmed@ICE-088 /d/talha.ahmed/workspace/repos $ git clone https://github.com/torvalds/linux ...
1
vote
0answers
119 views

How to Properly Use a Cloned Rails Project

Recently, I set up a new dev machine. To get it to seamlessly work with my other machine, I used Git to put my project on BitBucket. Then, I cloned it to my new machine. However, running rails s on ...
1
vote
0answers
102 views

Graphical interface to git with support for signed commits?

Is there any graphical interfaces to Git with support for gpg signed commits? I've tried the "Tools" -> "Add..." way of the builtin git gui that comes with git but that doesnt work with commit -S. ...
1
vote
0answers
279 views

Seting up a git server on a laptop within home network

I have an old laptop that have no use for it. I was thinking about turning it into a git server to push my code from my desktop to it. My Desktop and Laptop are on the same network at home, so I was ...
1
vote
0answers
127 views

Backing up private git repos to a normal (non-root) ssh account?

It's nice that with github and similar services, I can backup my open-source projects (using 'git push'). With private data, I have some reservations though. I'd prefer that my repos are encrypted on ...
1
vote
0answers
497 views

How do I stop Sublime Text 3 from being the Git editor on Windows?

On Windows 8, I've configured gvim as my Git editor in ~\.gitconfig: [core] editor = gvim -f -n Still, Sublime Text 3 opens as the editor when I invoke git commit. How do I stop Sublime from ...
1
vote
0answers
2k views

Mac OS X: “A keychain cannot be found to store [credentials]”

I'm trying to use git with a remote repo over the command line in OS X 10.8.4. When I enter my credentials for GitHub every time I perform a git push -u origin master, I get a system saying "A ...
1
vote
0answers
503 views

Git and (gitweb) and SVN both over HTTPS at same time

I'm trying to run both a Git server over http and I already have SVN running over http as well. I'm runnning centos 6 My git.conf (located in /etc/httpd/conf.d/) file looks like LoadModule ...
1
vote
0answers
247 views

Use Ruby with no-root user in Gentoo

I am just started to update my Gitlab on Gentoo server (4.2 > 5.0). For new version Gitlab need to use Ruby with user 'git'. # check ruby version for git user ( 1.9 required!! ) # gitlab shell ...
1
vote
0answers
97 views

Set up Git-User in Aptana

I'm using Aptana Studio 3 Standalone as IDE. As GIT client, I've been using eGit for quite a while, but I didn't like the menus and options there too much. So, I wanted to give the build-in git ...