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
212 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
357 views

Windows Github install error: System.Net.WebException

While installing, I got this error (from the log file). I tried the solutions to this similar question ERROR DETAILS Following errors were detected during this operation. * [5/7/2013 8:19:29 PM] ...
1
vote
0answers
83 views

Setup Git-User in Aptana

I'm using Aptana Studio 3 Standalone as IDE. As GIT client, I used 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 client a ...
1
vote
0answers
107 views

Updating GITLAB from 3.1 to 4.0 rake error

I am trying to update my GITLAB. I have been following this link (https://github.com/gitlabhq/gitlabhq/wiki/From-3.1-to-4.0) and I got stuck on this command: sudo -u gitlab -H bundle exec rake ...
1
vote
0answers
180 views

How do you correct the path separators in git when using powershell

I'm using the github powershell addon to run git on windows. Everything seems to work fine except for when I'm adding submodules. In this case, the powershell addon is adding in paths with \\ as ...
1
vote
0answers
135 views

hash-based asyncronous directory comparison

I am trying to efficiently synchronize two large directories via VPN over a long distance. Unfortunately I cannot install advanced tools like git or rsync on the remote server due to company ...
1
vote
0answers
44 views

Git merge. Behavior different on explicit merge than on pull

I have a problem with my git configuration. I like to use the --no-ff option when I merge two branch. So I put on my configuration file ~/.gitconfig under the section [merge] the option ff = no. Which ...
1
vote
0answers
91 views

How to restore version control in XCode?

I have just recently backed-up my XCode C++ project on my pendrive, using rsync -avu Since then, the version control for my project is lost (grayed-out) on every files, I can modify the files and ...
1
vote
0answers
112 views

Mac OSX 10.8 git commands don't work after trying to use git-credential-osxkeychain

Following setup instructions in https://help.github.com/articles/set-up-git to prevent credential entry for each git command, git stopped responding. Every git command "locks up" the terminal until I ...
1
vote
0answers
15 views

Building git page with jeklly

I'm using jeklly builiding git page. I can view my pages locally (http://localhost:4000/). I have received letter from git. However, I CANNOT open my home page on the internet. ...
1
vote
0answers
476 views

Error on git clone in cygwin: error: inflate: data stream error (invalid code lengths set)

I am trying to clone a repository using git on cygwin. Machine is a Windows XP machine, running a newly updated version of cygwin I have cloned this repository without any trouble previously, but on ...
1
vote
0answers
57 views

Intellij setup git macro

I would like to know if its possible to setup a macro for git. I want to be able to shortcut a git workflow : for instance : git checkout b git pull git merge a git push git checkout a
1
vote
0answers
166 views

Svn analog of git-shell

I have configured git,so I can pull/push via ssh, authorization via public key, but if I try to make direct shell access, I get Last login: Mon Aug 13 20:12:20 2012 from 192.168.1.3 fatal: ...
1
vote
0answers
176 views

Git differences between OSX and Linux

This has been driving me somewhat insane but I can't find any information on it. I have both Mac and a Linux (Ubuntu) machines. I work on both but I'm finding Git is behaving very differently during ...
1
vote
0answers
607 views

Why does git difftool not work with vimdiff?

I just set up git and set git mergetool to vimdiff and it works as expected. If I set git config --global diff.tool vimdiff it behaves strangely: git diff x y will open less and display the changes ...
1
vote
0answers
586 views

slow git performance

I have an older machine with a git repository on it that I use to keep synchronized with svn. I've noticed that with running basic commands like git status, it is ridiculously slow. I was initially ...
1
vote
0answers
64 views

Java opens a new window when I start it from mingw/msysgit, how can I stop it?

When I launch anything that uses Java, i.e., command lines beginning with java, javac, jar, mvn, etc., from cmd, I see the output in the same window. When I launch them from msysgit's bash shell on ...
1
vote
0answers
88 views

Git for windows xp crashes all the time

I am trying to clone a git repo on windwos xp. I am using GIT BASH. But everytime i try to clone it i get the error as below. I tried to restart my pc but this didn't help. Any suggestions?
1
vote
0answers
252 views

Incessant prompting for id_rsa passphrase

Running on Mac OS X and I switched to zsh a couple months ago & started using git quite heavily. At each initial login now I'm getting a prompt for my .ssh/id_rsa passphrase: starting... Enter ...
1
vote
0answers
53 views

How to setup Xcode's SCM for static and dynamic site content?

I want to use Xcode 4's SCM (GIT) to manage your static and dynamic site content, which I edit and maintain with a variety of tools (CSSEdit, Dreamweaver and Espresso). I have tried creating ...
1
vote
0answers
255 views

How can I make FTP ignore Git Files?

Is there a way that I can have my FTP client ignore the .git directory? Is there anything like the .gitignore (.ftpignore) file with FTP?
0
votes
0answers
6 views

How to change diff color in eclipse in compare mode

Let's say I select a file, then Show in > History then I select a file from the history "commit list" and I select Compare with Workspace: Here, I get gray-white color for the diff. How to ...
0
votes
0answers
27 views

Enable tab autocomplete in PhpStorm terminal on mac?

I am using PhpStorm for a pretty big project. We use Git for our versioning control. Needless to say, this leads to me switching back and forth all day between branches. I'm using the terminal window ...
0
votes
0answers
18 views

Git Bash on Windows 8 open to specific directory except when using Git Bash Here context menu

When I right click and choose Git Bash here it works as expected and the shell launches in the correct window. When clicking just the icon, despite changing the Start In settings, the directory is ...
0
votes
0answers
8 views

GitBlit folder permissions on Windows

What folder permissions does GitBlit require on Windows on the repositories? I have existing repos which I'm pointing GitBlit to, and I would like to make sure it has read/write permissions. I can't ...
0
votes
0answers
12 views

Is it possible to run gitbash over windows telnet?

I've got two windows machines, and I can telnet from one into the other just fine. However I use the git bash shell in preference to DOS and I'd like to be able to telnet from box 1 to box 2 and run ...
0
votes
0answers
34 views

GPG Agent under Windows as SSH Agent for git bash

I'm trying to set up gpg-agent as the common authentication agent under Windows. It works fine for both Putty and regular gpg use, but now I'd like to use it as ssh-agent in git bash as well. From ...
0
votes
0answers
18 views

Git: fatal: not a git repository, followed by 'Everything up-to-date'

I'm configuring git for web deployment purposes and have had a bear of a time. After sorting out various permissions issues, I got the error "remote: fatal: not a git repository" and then it lists the ...
0
votes
0answers
9 views

tortoisegit create a patch on win7

First time i used tortoisegit to control version. and i needed to create a patch(after my first commit). this how i tried to do. ①Right click on base folder -> tortoisegit -> create patch serial... ...
0
votes
0answers
53 views

Git Permission Denied (Public Key)

I cannot fetch or pull. $ ssh -vT git@github.com debug1: Authentications that can continue: publickey debug1: Offering RSA public key: usersnewkey debug1: Authentications that can ...
0
votes
0answers
22 views

How to setup an automatic git commit?

I have a git repository on my hard drive. At a predefined time, such as 11:59 PM every day, I want an automated commit to be made with the current state of the repository (all modified files checked, ...
0
votes
0answers
26 views

Issues with git on Hyper-V Vagrant box

I am running Ubuntu 12.04 on a Hyper-V box with Vagrant on Windows 8.1. I can git clone all of my smaller repositories from BitBucket and Github, but I have a repository that is decent sized (>10MB) ...
0
votes
0answers
12 views

A lot of commits missing the SmartGit log

I'm using SmartGit on Windows to commit/push to a linux server, where I get the content using the commands git fetch and git reset --hard origin/master. Occasionally, I will add/commit/push some ...
0
votes
0answers
19 views

Pull and chown from git

I've made a little script that fetches data from my bitbucket.org repository. Now when content gets created or changed the owner changes to name:name. What I want is all files to be chown to ...
0
votes
0answers
15 views

posh-git not reading my profile

I'm using posh-git (part of Github for Windows). I want to set a custom prompt as in this question. However, posh-git is not reading my profile file. I have tried: Running PowerShell as ...
0
votes
0answers
60 views

Can't connect IntelliJ to GitLab Cloud on Windows with SSH

I have been struggling to work out how to connect IntelliJ to my gitlab cloud repository using SSH on Windows. I'm new to all this, I'd very much appreciate someone checking the steps I've done so ...
0
votes
0answers
23 views

atomic `git push`: don't push tag if branch push fails

I'd like to solve davidchambers/xyz#18. Assuming I have a tagged commit which I'd like to push to a remote repository, this usually works: git push "$repo" "refs/heads/$branch" "refs/tags/$tag" A ...
0
votes
0answers
50 views

How to encrypt data in bitbucket without losing git diff tools?

Based on this question:encrypt files before sending them to cloud. considering openssl: For example when using openssl we can write the files fooenc.sh: #!/bin/sh openssl enc -bf -nopad -pass ...
0
votes
0answers
27 views

How to undo a mistaken merge using TortoiseGit

I have a TortoiseGit repository locally, which is also pushed to a remote. There are 2 branches - master (the production version), and CodeFirst (a development branch). Today I fixed a minor bug in ...
0
votes
0answers
12 views

npm install not working since update to mavericks

So I updated to Mavericks and had to reinstall node. i cloned a repo from github that has some private dependencies: devDependencies: { "something": ...
0
votes
0answers
14 views

What is a good fix to have 10 key work correctly with Git?

I have an Apple Macbook Pro V. 10.10.2 (14C1514) with an apple keyboard (with 10 key) I am also running Git with Zshell. When I am using git, the 10 key on my keyboard is not working. However, when ...
0
votes
0answers
9 views

How to find Git commits that share the same tree contents?

I guess I could do a tree-filter and compute it myself, but is there a quicker, native way to find commits that contain the same tree state (same files and file contents)? They are not adjacent so ...
0
votes
0answers
19 views

Mac terminal lost git knowledge

When I opened terminal and went to a git repo, it would automatically show the branch I'm on with a big green check or red X if I had any changes. Logged onto machine today and my bash profile was ...
0
votes
0answers
29 views

Task Manager “go to process” points to the wrong process

This is one of those weird windows things and I'm wondering what even caused this. I was trying to clone a git repo, then closed the console window after deciding against it. The window stayed up but ...
0
votes
0answers
35 views

Unable to git fetch - Connection reset by peer

I have a PHP script handling the automatic deploy to my pre-production server, using Bitbucket's hooks. The deploy script is based on this post. Everything was working fine until this Sunday. Since ...
0
votes
0answers
28 views

How to sync specific files in Ubuntu with git or dropbox?

On my development machine, I have some configuration files saved at various locations. I want to save them and sync them somewhere in Cloud so that whenever I need to access the configurations I can ...
0
votes
0answers
59 views

How to make a github commit be authored by “unknown”/“unrecognized author”?

For fun I'm trying to create an awful git command called "git shove" that basically does this: git add -A git commit -a -m "git shoved" git push --force I would like it also so that the author is ...
0
votes
0answers
19 views

Changes to be commited half green half red

Last time I used git add . and git status after I got this output: Why is the output colored this way, and why are the paths ordered so oddly? For example: ...
0
votes
0answers
54 views

Impossible to clone git repository with www-data?

I´m trying to clone a repo from my php script. I´m using Apache. What I´ve done so far: Fresh Ubuntu 14.04 installation Created ssh key (located at /root/.ssh) Clone to /home/user/ successful ...
0
votes
0answers
23 views

How to authenticate with git?

I have been provided with connection details to a git server: http://hgk:hgk_499@git.server1.org/clients/app_server1.git I have downloaded a git client and after entering the server as: ...