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
0answers
47 views

Why doesn't WinMerge filer .git folders although the FileFilter is in effect?

When comparing git repo clones, I am annoyed by the appearance of the .git folder and its contents in the directory compare tab. In teh Tools -> Filters... dialog, I have the Exclude Source Control ...
0
votes
0answers
31 views

git export part of bare repository?

I'd like to perform a partial "export" (only one subdirectory) of a bare repo. I've tried some solutions in the answers to Checkout Git files to a location outside the repository, however none seemed ...
0
votes
0answers
68 views

Git for Windows - where is default commit message template stored?

When I run Git with this command line: git commit -a I get an initial commit message like this: # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and ...
0
votes
0answers
125 views

Jenkins User Credentials Not Showing In Project

So I have Jenkins-CI running with the Credentials, Credentials Binding, and Git plugins, and first what I did in order to authenticate Git with the remote repository, is I added credentials to the ...
0
votes
0answers
14 views

File permissions resetting with git pull

On Linux, whenever I perform a git pull on a directory, all of the files lose their permissions that I have set for them. How do I keep this from happening?
0
votes
0answers
20 views

Linux computer gerrit connection problems

I have searched and searched and can't find a related answer. Ok, here is my problem. I'm running Xubuntu 15.04. Have been building android for several month. Recently got into using gerrit to ...
0
votes
0answers
19 views

git merge only unconflicting commits

The idea is to merge branch B into branch A, but only merging commits which would not conflict in the process (of course this might make other commits 'become conflicting' too as they depend on a ...
0
votes
0answers
133 views

Vagrant VM is starting but ansible doesnt process anything

I have such Vagrantfile: # -*- mode: ruby -*- # vi: set ft=ruby : VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "ubuntu/trusty64" ...
0
votes
0answers
137 views

Nginx and git-http-backend - 405 error

I'm trying to configure git-http-backend over nginx, but without success. My configuration is: mkdir -p /var/git/repo1 cd /var/git/repo1 git init --bare git update-server-info chown -R nginx:nginx ...
0
votes
0answers
100 views

redmine The entry or revision was not found in the repository

I had redmine 2.x running perfectly. However I wanted to use some 3.x plugins so installed redmine 3.x next to it with the same configuration. All is working fine except for the repositories. I am ...
0
votes
0answers
15 views

Pulling updates for multiple layers of Git submodules

I am creating a several layers of Git submodules. An example is the following: Git_repo submodule subsubmodule subsubsubmodule ... I would like to be able to pull updates from ...
0
votes
0answers
20 views

Get list of who written more code on a specific git branch?

I'm working on a big project with a lot of team members, and we are rewriting most of the code inside a new branch. I'd like to know who are the top committers, or better, who have written more code, ...
0
votes
0answers
22 views

Introducing clang-format which a lot of git branches

A project I work on has no style guideline so far and could therefore benefit from introducing clang-format. The problem are many long-running branches which have diverged quite a bit from the ...
0
votes
0answers
102 views

Can I configure Jenkins to only deploy push builds?

I'm trying to set up a simple Jenkins server to do two things: Automatically build and deploy all pushes to the master branch of a Git repo Automatically build but not depoly all merge requests in a ...
0
votes
0answers
144 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 ...
0
votes
0answers
46 views

Vundle directory automatically copied to dotfiles directory with weird permissions

I just installed mathiasbynens dotfiles (only the bootstrap scripts, not os x default, not that it matters). The bootstrap script copies all the files to ~ folder (not symlink, copy). Anyways, I have ...
0
votes
0answers
25 views

Why can't I git push from gTerm / MATE Terminal?

I'm running Linux Mint 17 'Qiana' MATE and have a strange issue with bash sessions initiated via Gnome Terminal: whenever I attempt to push code to our git repo via git push, the operation fails with ...
0
votes
0answers
667 views

errno 14 could not open/read file ///repodata/repomd.xml

I have a Yum repository configured on my RHEL 6.4. By using the RHEL Custom Repository. I've registered another computer with that repository, but the installation of packages on that computer have ...
0
votes
0answers
342 views

Installation of Asus Xonar D2x sound card drivers on opensuse 13.2 gnome

I'm running a vmware session of opensuse 13.2 gnome on Windows 8.1, which will soon be windows 10; at least until I get this problem fixed. I've successfully install vmware-tools (the closed source ...
0
votes
0answers
16 views

Git - roll a code base all the way back to original download, and also diff against original

We've had Magento v1.4 Enterprise under source control (Git/sourceTree) since it was installed about 2 years ago. I have the following two questions: How would I, using sourceTree for Mac, a) clone ...
0
votes
0answers
53 views

Difference betwen Core.git & git-core

Ihave a new debian os server and has been installed with libpng,poco and libcap-progs. for a libreoffice application, readme file says to show path to core.git On doing a search found git-core, but ...
0
votes
0answers
98 views

Not able to download all files from nexus to git repository folder with wget

I am downloading files from the nexus repo using wget command. Using the command, I am able to download all the files in the C:/ area, but when I am using the same command inside ...
0
votes
0answers
148 views

rsync tree but ignore folders where a .git directory exists?

All I found were questions how to ignore the .git directory when using rsync - my question is a little different: I want to ignore the whole tree from the point where the .git directory exists. ./ ...
0
votes
0answers
45 views

git - filter out 'personal' files from public repository uploads

Let's say I have a repo with source that is linked to GitHub. Locally, I can manage file exclusion with .gitignore. But let's say that I have utility files, like shell scripts. For example, this ...
0
votes
0answers
53 views

Git UI shell integration to show “git svn info”

I use "git svn clone" to checkout a subversion repository and manage it under git locally. Is there any easy way I could still easily find out the subversion path of the files under git management? ...
0
votes
0answers
302 views

Can cygwin shell interfere with git bash when using Git Bash Here?

I've been using Cygwin terminal for a long time, and have gotten very used to its quirks and what-not. Recently I've been using the Git Bash shell in Windows 7 (64-bit). For Git command-line work, I ...
0
votes
0answers
111 views

All js files of a parent folder gone missing on Windows 7

My folder Projects having multiple projects, is being messed by something. Tl;dr version: For some unknown reason, all of my javascript files contained in sub-directories of Projects dir, are gone. ...
0
votes
0answers
147 views

Unexpected error with git-http-backend over Nginx and fcgiwrap

Original question I'm trying to setup a git repo for remote access through HTTP. Thing is, even a simple git clone is not working. This is the error message: /var/log/nginx/error.log 2015/07/03 ...
0
votes
0answers
77 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 ...
0
votes
0answers
7 views

Zend switch to master branch gives error

So when I switch to the master branch I get this, I want to mention that the branch that I am in has no uncommitted changes Stash, reset, cancel don't work and in .gitignore I have ...
0
votes
0answers
81 views

Sourcetree interactive rebase giving a commit prompt instead of selecting commits

There is this nice feature in Sourcetree about the interactive rebase https://www.youtube.com/watch?v=SF3IO_m9jdY Probably things changed in Sourcetree 2.0.x When doing the same thing, I'm always ...
0
votes
0answers
268 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
1k 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
252 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
45 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
23 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

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: ...
0
votes
0answers
27 views

Changing Git Location on Mac OS X

I have a version of Git (1.9.3) already installed on my computer at /usr/bin. This version was installed (if I remember correctly) by XCode. I would like to install 2.2.1 (the download version from ...
0
votes
0answers
16 views

Command to search for a string in all of the previous commits of a user

I changed something about 1 week ago and I realized that it impacted something today. But the question is I have no idea what I changed, but I do have a hint of what I changed. What is the command ...
0
votes
0answers
194 views

How connect with Git repository over ssh behind evil proxy

My proxy (192.168.1.1:3128) not allow connection over ssh and I wish work with git repository like this: for clone: git clone ssh://user@server.com:2222/~/repository.git For cheat web forbidden, I ...
0
votes
0answers
46 views

How to set up git user for group-writeable repositories and SSH access?

I am setting up a Git server on Ubuntu 14.04 LTS. I need the server to support both the SSH and HTTP protocols. So far I've followed the instructions in the Git Book to get my server to support the ...
0
votes
0answers
63 views

Configure GIT_EDITOR for Windos

I am a beginner using GIT. I installed GIT on my Windows-7 PC and make the first steps. The command git commit -v allows to edit the commit message with an editor before doing the actual commit. I ...
0
votes
0answers
193 views

Configuring a Git server on Arch Linux

I’m looking to turn my website that I’m building from scratch (that is, the root of the site) into a Git server. Basically I’d like to be able to have a local copy that I can edit through Eclipse and ...
0
votes
0answers
145 views

Pulling a repo on Raspberry PI boot?

I'm getting stuck on this : I try to make a git pull on a repo on Raspberry boot. What I've done so far : In /etc/rc.local : su pi -c bash /home/pi/boot.sh My boot.sh script : #!/bin/sh set -e ...
0
votes
0answers
279 views

Github cannot be established

Hi I am trying to build Camunda Web App using Grunt. But it reports that Github server connection cannot established. How to fix it? Windows 7, Git & Maven & NodeJS all are set up in ...
0
votes
0answers
178 views

'git status --porcelain' failed in submodule

Whenever I try to commit I get these errors: error: bad index file sha1 signature fatal: index file corrupt fatal: 'git status --porcelain' failed in submodule amazon-s3-php-class Why? What's ...
0
votes
0answers
716 views

PowerShell issues with spaces in directory names

PowerShell has issues with spaces in directory names. I am trying to execute a file in the same directory as the PS1 script like so: .\getGravatarsForGource.pl It works fine when the directory ...
0
votes
0answers
126 views

.dotfiles gitignore not ignoring vim/tmp folder

tmp=.dotfiles/vim/tmp.GITIGNORE=.dotfiles/.gitignore. I have created a gitignore for vim/tmp inside my .dotfiles but they are not being ignored. My temp folder contains /backup/swap/undo/ and every ...
0
votes
0answers
409 views

bash: git-receive-pack: command not found

I've just changed the git remote for my server, and now when I try to use git push web master, (after staging and committing the changes), I get this: bash: git-receive-pack: command not found fatal: ...
0
votes
0answers
59 views

Re-add ssh key every time I restart my mac

Every time I try to interact with git after I restart my machine I and given an error saying I have been denied access. To fix this I enter the command sudo ssh-add -K ~/.ssh/github_rsa This ...