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
9 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 ...
1
vote
0answers
5 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 ...
0
votes
1answer
14 views

How to checkout via SSH on bitbucket

Is there some sort of trick to cloning a bitbucket project via SSH so you don't have to manually enter a password each time? I've tried following their docs and I was able to get to the point where ...
0
votes
0answers
11 views

How do I ignore unnoticeable changes in png images that git thinks have changed? [on hold]

We have an automated process that generates screenshots of our application into a git repository. These screenshots are then manually inspected for changes from their previous version using an image ...
-1
votes
0answers
11 views

Good way to learn Git Extensions [on hold]

I spent some days lately to learn Git Extensions. I already know basic knowledge of it. But I still feel not familiar with it. When I did commit, push, pull, ..., I usually got error and I don't know ...
0
votes
0answers
8 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
2answers
22 views

Git push gives 403 error

I have been following the steps on Hosting a Git server under Apache on Windows and got everything working fine. I then wanted to add in a basic authentication for push requests and so made changes ...
0
votes
1answer
19 views

Git clone gives 403 error on localhost

I have been following the steps on this page: Hosting a Git server under Apache on Windows but at step 5 I run git clone http://localhost/Test.git and I get the response Cloning into Test... ...
0
votes
1answer
18 views

Update working branch with remote master

It may have been asked before, but I haven't found the exact answer. This is my graph, I'm working on demo3. I've made new commits into demo2 and finally merge them with master. How could I bring ...
0
votes
1answer
30 views

What is an open source backup app alternative to deja-dup/duplicity that gives me more flexibility on *nix? [closed]

Open source (preferably with a GUI but CLI would do too) If CLI - has good documentation and community resources. Option to have more schedule settings than just daily. (I am fine as long as it ...
0
votes
1answer
23 views

Git Installation Returns Error 404 On RHEL

I am trying to install Git in my REHL but failed. I have also clean up metadata and everything else by running sudo yum clean metadata and sudo yum clean all but still, the error persists again and ...
0
votes
1answer
32 views

'git' is not recognized as an internal or external command, operable program or batch file

I'm reciveing this error when trying to install something which uses 'git' command. I've already installed git and put the directory into my environment variable - C:\Program Files (x86)\Git\cmd I've ...
1
vote
1answer
38 views

Git gui blame from Sublime Text 3

I have tried many things, but none of them worked. Expected result: I type a shortkey, and git gui blame opens the current file at the line the pointer is on. I work on Windows 7, with Sublime 3 ...
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
23 views

How to load config file via git?

I suspect this is a silly question, but I haven't been able to find an answer online. I'm trying to load a config file in git, but the file is not in one of the default storage locations. So I tried ...
1
vote
1answer
37 views

Vim prompting file has changed after git pull

My work flow involves editing many files in vim, and occasionally I will do a git pull --rebase, which may or may not actually change the files I am editing. However, after such a rebase, vim will ...
0
votes
1answer
18 views

git rebase --interactive throws an error

I'm relatively new to git. Could anyone, please, help running git rebase --interactive properly? It throws an error when I try to execute it. Note: I don't want to uninstall Xcode unless it's ...
1
vote
3answers
116 views

ffmpeg command not found but its installed on server

I was trying to update ffmpeg, after searching a lot on this topic i decided to uninstall the old one and install new version of ffmpeg i-e; ffmpeg 2.6.3 i installed new version using this link but i ...
0
votes
0answers
6 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 ...
1
vote
2answers
87 views

Brew update: error: Your local changes to the following files would be overwritten by merge

I'm very new to homebrew and git. I've done changes to httpd24.rb formula which is in homebrew/apache tap. (Just added the --enable-so configuration argument in the existing formula file) Now when ...
0
votes
0answers
32 views

How do I automate git pulls from a private repository using Github's hooks?

I'm sure there's plenty of similar questions to this, but mine's a little more specific. I have a server used for testing, and the site owner wants it to automatically update itself when someone ...
0
votes
1answer
10 views

MinGW shows old version of file

I'm observing a situation where Git Bash (MinGW) is showing different contents for a particular file than everything else on the system. In the image you can see that the file elasticsearch.yml has ...
2
votes
1answer
54 views

Figure out merged commit in prepare-commit-msg hook

I have tried creating a prepare-commit-msg hook that works for merge commits. The script gets passed the following arguments .git/MERGE_MSG, merge. I need to get the hash or branch name of the merged ...
0
votes
1answer
23 views

Using git to sync between servers

I am planning on using git to sync my server configuration files between my multiple game servers (I have over 32) and it takes a long time to change one file on all of the servers. I have created a ...
0
votes
1answer
94 views

Cannot clone repo on windows fatal: unable to access. The requested URL returned error: 403

I have set up Gerrit repository on non-standard port 10002. I have generated my HTTP password in Gerrit. I can successfully clone this repo over HTTP protocol on Unix machines and on most of ...
0
votes
1answer
39 views

Creating deb file in Debian using github source code and debuild tools

I want to compile nginx (with custom libs) using up-to-date source code from GitHub. But if I download the code from GitHub, obviously, there is no "debian" folder and inner files. So, when I use ...
0
votes
0answers
14 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 ...
1
vote
0answers
32 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
32 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
33 views

How to resolve dependencies while installing application on linux (CentOS 7.1)

When I tried install deluge on my CentOS 7.1 I was facing dependecy problems due to some el6 which are not meant for CentOS 7.1. So, I found this page: ...
1
vote
0answers
106 views

Simplest way to setup my own remote private git server

First of all, I've read all the git-server-setup documents on the internet, but still, there is one thing missing -- I want to setup a simple GIT server in (Ubuntu) Virtual Machine for myself, not for ...
0
votes
1answer
36 views

How to delete/remove files from a pushed commit?

is it possible to delete/remove some unwanted files from remote and local repository? I was a bit to fast and pushed 5 files to the remote repo. Now my colleague pushed his work and saw to late these ...
1
vote
1answer
35 views

How to stage git commits using meld (like git add -p)?

git add -p allows to stage selected parts of working tree changes to the index so that an uncommitted set of changes can be split into multiple commits. Instead of git add -p, I would like to use ...
0
votes
0answers
58 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
3answers
64 views

Bitbucket git SSH key error: “Bad owner or permissions on /home/centos/.ssh/config”

I've followed Bitbucket's instructions to add my SSH keys and use git without having to authenticate each time. I followed the instructions here. Then I get to ssh -T git@bitbucket.org I get the ...
0
votes
0answers
32 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
1answer
10 views

Distribute session-only git configuration on ssh login

I have a bunch of development servers (linux) that I connect to via SSH from linux workstation. On most of these servers I want to use the Git command line interface. I use a set of Git aliases that I ...
0
votes
0answers
17 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
1answer
22 views

SSH config ignoring User parameter on OSX

My personal ~/.ssh/config: Host officenet User m.orlandin Hostname versioning.officenet.prv IdentityFile ~/.ssh/office_rsa PreferredAuthentications publickey actually my system username is my ...
0
votes
0answers
20 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
1answer
43 views

Git installation hell on Linux

I have a bitnami - redmine virtual machine with Redmine 3.0.1. This came with Git pre-installed, version 1.9.5. I am now trying to update it, but I have some big difficulties. apt-get installs git ...
0
votes
0answers
50 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
1answer
19 views

Git log does not show user name

My git log command does not show my user name. When I do git log I get: commit c364356360035c33e5f7b596e0bfcbcaf9284252 Author: = <me@site.com> Date: Wed May 6 10:18:51 2015 +0200 When I ...
1
vote
2answers
41 views

How to use github via HTTPS?

I'm trying with this to create a simple static HTML website using github. I already created a repository named: "GITHUBUSERNAMEANDREPO". #!/bin/bash git config --global user.name ...
1
vote
1answer
42 views

Using GitHub for Windows with MSysGit

I have both GitHub for Windows and MSysGit installed on my PC. As GitHub for Windows provides its own copy of Git, I feel as if having MSysGit also installed is redundant. However, I enjoy the ...
0
votes
0answers
28 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
15 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
1answer
267 views

Gitlab 7.10 install doesn't create proper ssh git user config?

I am setting up a Gitlab instance on my home VM lab and am baffled with the way SSH is configured in Gitlab so I would appreciate some insight into whether I am doing something wrong or is Gitlab ...
0
votes
0answers
147 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 ...
1
vote
1answer
329 views

My computer can't find the git command

I recently installed git on my computer (OSX 10.10.1) and when I run git I get git: error: unable to find utility "git", not a developer tool or in PATH. So I checked, found that I didn't have the ...