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

0
votes
1answer
11 views

ssh login with key can't connect although go an ssh key

I have my 2 servers that I want to connect one to another with ssh. I am the user --> userA in serverA, and I have this config file in .ssh folder Host git HostName git.OURSITE.com ...
0
votes
0answers
15 views

ssh key works on terminal but not on git

I have my machine, with it's ssh key. the public key is on the git remote machine. I can easily connect to the Git machine with simple ssh threw terminal. The problem is when I perform a "git pull" ...
0
votes
0answers
6 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 '.'
0
votes
0answers
7 views

git credential command not working

When I ran git credential command, I get following error: git: 'credential' is not a git command. I correctly configured credential helper with the command git config --global credential.helper ...
1
vote
0answers
9 views

update git after upgrade to Mavericks

I've recently upgraded from Mac 10.6.8 (Snow Leopard) to 10.9.4 (Mavericks). I had git 1.8.5.2 installed on the old system and want to update it now to the latest version. So I uninstalled git with ...
0
votes
0answers
4 views

tig: increase view width

Is there a way to increase the width of a view? For example in status view if I select a file it splits the screen so that the status view is on the left and the stage view is on the right. I want to ...
0
votes
0answers
10 views

Apply changes in ~/.gitconfig

When I make changes in my ~/.gitconfig file I find they are only reflected if I restart my computer. Is there a command to "refresh" git so that the changes in the ~/.gitconfig file are reflected ...
0
votes
1answer
13 views

How to clean up output from `watch git gc`?

git gc updates the output as it runs, perhaps using backspaces, control characters, and/or curses. (I'm not an expert on this.) How can I modify my watch -n 60 git gc bash command so that the output ...
0
votes
0answers
16 views

Git for Windows has stopped working

git.exe crashes. It started happening after installing SourceTree, and now I cannot revert it to a working state, no matter what version I install - whether it is the git from http://git-scm.com/ or ...
0
votes
2answers
14 views

How can I reset some of the committed modified files in git?

I modified some code files and git add git commit. And then, I found some of the modifications were wrong. So how can I reset them in git?
0
votes
0answers
35 views

Various methods of trying to set up a git diff tool lead to “fatal: cannot exec […] : Bad address”

I'm on Linux Mint 17 64-bit. Just purged git and re-installed with apt. Deleted ~/.gitconfig. Only configuration I do after supposedly fresh install is (while inside a repo) git config diff.tool ...
1
vote
1answer
14 views

Is it possible to use git without git author settings?

I am using SVN but I would like to change to Git for a lot of reasons. However the thing that annoys me is that git is constantly bugging me about settings my author email and name. I work on a lot ...
1
vote
0answers
16 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 ...
0
votes
1answer
15 views

Git post-update hook not working properly

If I push to my remote origin repository the post-receive hook should push all to another remote repository on another machine. When I push to my origin the post-receive hook gets triggered but I ...
0
votes
1answer
10 views

How to create SSH Key for git user

If i want to syncronize my remote origin with another remote repository i will have to register a post-update hook. But I will need an ssh key for that. Because my origin repo is owned by git user, ...
0
votes
0answers
20 views

Setting up a git post-update hook

I am using the newest gitlab version on ubuntu server 14.04. There are 2 repositories that should stay in sync. (One on my local Ubuntu Server VM and one on an external Server) If I push my local ...
0
votes
1answer
15 views

Git user protocols

According to git-push man page: Git supports ssh, git, http, and https protocols (in addition, ftp, and ftps can be used for fetching and rsync can be used for fetching and pushing, but these are ...
0
votes
1answer
28 views

git: How to fetch updated code on master to earlier created branch

I am using git for the first time. I created a branch, and I haven't worked on it since then. I did work in master. Now, I want those changes in my branch too. How can I pull these changes to my ...
0
votes
0answers
15 views

Restore Gerrit project from local copy of git repo

What should I do to restore Gerrit project from local copy of Git repo? Suppose situation when bare git repo on master server was deleted and only local copy persisted. From local copy all references ...
0
votes
0answers
37 views

SSH reverse proxy

I am setting up a Gitlab server (https://about.gitlab.com/) inside a virtual machine using KVM on a Ubuntu 14.04 host. My university charges us for every external IP address, so I cannot use bridged ...
0
votes
0answers
31 views

Prevent Git autocomplete listing remote branch names

I use msysGit/Bash on Windows with Git and I see there is a git-completion.bash file in C:\Program Files (x86)\Git\etc which I assume handles autocomplete in Git. When you type git checkout mas + ...
0
votes
0answers
14 views

Issues with file ownership after git push

I have a server at home running Ubuntu 13.10 configured as webserver and git repository. If I push my project from my system to the server a post-receive hook is executed that moves the files ...
0
votes
0answers
30 views

Github for windows not working after install

Today I have installed Github For Windows. I had installed Github For windows earlier and at that time it worked fine but due to some reason I had to uninstall it. Today when I installed Github again ...
2
votes
1answer
24 views

What does command 'git rebase' mean when no arguments followed?

Should ‘git rebase’ take at least one argument? What does it mean with just 'git rebase'?
0
votes
0answers
5 views

Running Git Ls-Remote with certificate in Windows

I am wanting to run ls-remote against a remote repository to find it's HEAD. I am wanting to do so with a private key for authentication, but don't want to store the certificate in my .ssh/id_rsa.pub ...
0
votes
0answers
18 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. ...
0
votes
0answers
11 views

Configure Git in order to have one repository and different folders to be updated at the same time

I have a problem to figure out and was wondering how I can achieve this? I have 1 server with GIT and 1 project in a git repository. When I commit changes to the files, I need 2 different folders on ...
0
votes
0answers
13 views

Git only works partially (some git commands are found, other not)

Having some trouble with git today (worked lovely yesterday and can't figure out what changed) This is the scenario: The path is setup correctly and points to the git file, when using cmd OR the git ...
0
votes
0answers
13 views

how to avoid the x terminal forwarding

I use our remote server along with a team. apparently they made all the apps automatically do x forwarding. I know this b/c now if i simply want to run a git command git pull I get this error: ...
0
votes
1answer
28 views

How do I get the merge list with git?

When I try to merge a file, I get $ git merge origin/develop Removing t/table_statistic_grains_test.t Removing t/table_statistic_grains_calllog.t Removing t/table_statistic_grains_accession.t ...
0
votes
0answers
13 views

Single directory for global git configuration files on Windows

I have a git repository that has my git configurations, i.e. config and ignore files. On GNU Linux I clone this repository to ~/.config since git respects $XDG_CONFIG_HOME. I would like to use a ...
0
votes
2answers
288 views

installing GitLab on CentOS7 failing due to create on resource user

I am trying to install gitlab on a VM under VirtualBox running CentOS 7 I am following the following instructions: https://about.gitlab.com/downloads (for CentOS) I configured gitlab.rb to contain: ...
0
votes
0answers
34 views

Git add file path completion not working with zsh on OS X

When trying to tab complete files with git add <partial-path><tab> the completion hangs. I have to quit it with ctrl-c. This is also the case for git rm. All other zsh tab completion seems ...
0
votes
1answer
27 views

how come git bash can call java tools (xjc.exe) with unix paths but not cygwin?

From CMD.exe, I can run xjc as follows: xjc "c:/schema.xsd" -p abc -d "temp" From git Bash, I can run xjc as follows: xjc "/c/schema.xsd" -p abc -d "temp" As far as Cygwin goes, I can get it ...
5
votes
1answer
74 views

How can I use vim to view git diffs on Windows?

I want to use vim to view the output of git diff. I am running Windows 8 and I have vim 7.4 installed. I have, for convenience, created an environment variable VIMDIR set to Vim's install directory ...
0
votes
0answers
11 views

Synchronizing Tasks across computers in Eclipse Juno

I am using Eclipse Juno to develop some software. I am part of a bigger team that consists of a few other members. I want to know if there is some way to Privately have (something like a repository) ...
1
vote
0answers
20 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 ...
0
votes
2answers
34 views

What are the implications of a shared git clone if the source repository is remote?

So, the a git shared repository seems to be more or less perfect for keeping folders with large blobs in sync. I have something like 700 GB of pictures and videos I want to distribute across my ...
1
vote
1answer
37 views

How to do linear git flow?

My dev shop has a preferred git flow like so: Checkout an issue branch (issue9). Solve issue (serve over port 80). Commit (git commit ...). Merge the issue branch into a local feature branch (cal). ...
0
votes
0answers
40 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 ...
-3
votes
1answer
33 views

Move Git repo from hard drive to server?

I installed Git on my Windows PC and now I have several git repositories on my hard drive. I'd like to move the repositories to my Linux server, which already has Git installed. How do I do this? ...
1
vote
0answers
37 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 ...
0
votes
1answer
134 views

Can't use homebrew installed git

I'm encountering a really weird issue when I try to use the latest version of git I just installed via homebrew. which git is pointing me to the homebrew install, but calling git returns the original ...
1
vote
1answer
22 views

How can I put my skype notification settings in a public git repo

I maintain key configuration files in a public git repo - I'd like to put my skype configuration in it too, because I find the default configuration way too noisy. The newer version has started ...
1
vote
0answers
46 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 ...
0
votes
1answer
10 views

Emulate ff-only behaviour on Git 1.6.0.2

I have the following problem on one of our servers: I want a user that pulls from a Git repo on a regular basis (using a cronjob), but only doing fast-forward pulls (the content on the server changes ...
1
vote
0answers
15 views

How can I browse through Homebrew's formulae according to popularity (# downloads all time)?

Though I can easily find an alphabetical list of all available formulae, there seems to be no resource online, including at Brew's Github, or seemingly anywhere where I'm able to browse through ...
0
votes
2answers
58 views

How can I use a text editor other than Vim with Git?

I hate Vim, but it seems to be the only program that correctly saves the file and executes a rebase interactive. Is there any way to use a different editor. I'd prefer to use a GUI, like Text ...
0
votes
1answer
21 views

MSysGit is adding a cygwin prefix to non-cygwin paths and then failing to find its current directory

I've had Cygwin's git installed on my Windows 7 64 bit machine and it's been working fine. However, I've found myself wanting to be able to use git from non-Cygwin programs (in particular, Windows ...
0
votes
0answers
24 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 ...