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
18 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
32 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
26 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
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 ...
1
vote
0answers
28 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
votes
0answers
22 views

GIT - can't install [on hold]

I have strange problem. I download git from git-scm.com on my new computer. I clicked the installer, chose standard (simple context menu and all associate .*), "use git from fit bash only", and ...
1
vote
0answers
21 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
17 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
47 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
17 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 ...
0
votes
1answer
18 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
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
3answers
35 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
19 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
7 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
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
1answer
15 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
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
1answer
39 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
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
1answer
15 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
37 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
34 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
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
1answer
170 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
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 ...
1
vote
1answer
128 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 ...
0
votes
2answers
19 views

Run git command from an external directory in fish function

In a fish function, can I run a command from a certain directory without changing into it? or Can I run a git command (push) from outside the repository by specifying its path somehow? I'd like ...
1
vote
3answers
48 views

Copy ssh key onto another machine so I can use GitHub there?

I have a remote server. I can already ssh successfully onto that remote server - my key is in authorized_keys on the remote server. Now I want to pull from GitHub directly onto that remote server. ...
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
1answer
30 views

bash completion in msysgit by single or double tab

Single tab used to make bash complete current line, and double tab shown all possible variants. For example, if I have files (or git branches, or whatever is suitable in current context) "abc", "abd" ...
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
1answer
27 views

Website updating from git (over ssh)

I have a script that I run over SSH, which updates my website from a Git repo. cd website-git git checkout master git pull # Update protected directory rsync -v -a --delete --exclude=db ...
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 ...
1
vote
1answer
18 views

Git alias does not find the path I supplied

I'm trying set up a git alias because I type this command often: git commit -m 'update' -- hdf5_classification/output To make the alias I am doing: git config alias.up '! git commit -m 'update' -- ...
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
61 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 ...
1
vote
2answers
60 views

SSH-AGENT could not open connection

I try to link my SSH key with SSH Agent. I'm on Windows 7 Pro, and I'm using Git Bash console. I've this folder structure: C:\Users\MyName.ssh\id_rsa Where I've put my SSH key files as follow: ...
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
52 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 ...
4
votes
1answer
105 views

How to filter commits by author in SourceTree?

In the branch view of SourceTree, I see all the commits. I'd like to filter the commits to show only the ones committed by me/someone. How can I do this? Thanks.
0
votes
1answer
21 views

“Git commit” takes a very long time (> 40 seconds) to open vim. What could be happening?

When I run git commit -m 'some commit message', everything works as expected. When I run vim on its own, everything works as expected. Yet when I run git commit, which launches vim, it takes up to 40 ...
0
votes
2answers
36 views

apt-get error when installing git

I just set up a fresh Ubuntu 12.04.5 server amd64 machine on VirtualBox 4.2 (I was having install issues on OSX 10.10 using 4.3) and I'm able to do apt-get install curl but when I run apt-get install ...
0
votes
0answers
28 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 ...
4
votes
1answer
64 views

Remove file from git version control without deleting it from the filesystem

How can I remove a file from the git tree without deleting it? It is easy to git add an untracked file to include it by the next commit, however I do not find out how to to remove the file to have ...
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
1answer
23 views

Attempt to gitolite mirror says “you should pull first”

Some of the repositories we mirror using gitolite are now erroring with: % gitolite mirror push mirror-host repo/path remote: error: denying non-fast-forward refs/heads/feature/FOO-XXX-bar (you ...
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 ...