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

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
74 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
18 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
18 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
73 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
110 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
66 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
10 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
19 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
20 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
59 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
107 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
28 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
21 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
398 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
240 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
15 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
27 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
65 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
107 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
37 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
35 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
38 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 ...
0
votes
0answers
172 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
100 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
115 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
55 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
4 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
53 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
119 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
135 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
67 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
44 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
132 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
186 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
49 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
848 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
72 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
65 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
60 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
48 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
306 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
76 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
195 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
13 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
17 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
16 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
41 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
46 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 ...