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
417 views

GitHub configuration terminal says “no such file or directory”

I'm following the tutorial to configure GitHub but my mac terminal says that I have no such file or directory. iMac-di-:~ user$ git credential-osxkeychain Usage: git credential-osxkeychain ...
0
votes
0answers
38 views

Use server git installation in GitHub for Windows

We are using Git as the version control for our website development. I work from a laptop, which is connected to the internal network via a WiFi connection. I've mapped the server drives as network ...
0
votes
1answer
536 views

Getting .net error while installing Github

Github Installation failed with the below error. Component Microsoft .NET Framework 4 (x86 and x64) has failed to install with the following error message: "A failure occurred attempting to install ...
0
votes
2answers
82 views

git push/pull keeps on trying to produce GUI window

Every time I try to do git push or pull on one of our work server I get a "Error: Can't open display:" warning, unless I login with -X forwarding, in which case some ugly 90s looking window pops up ...
0
votes
0answers
192 views

GitHub project uploading error: error, failed to publish this branch

I am new to GitHub and until today I have used the Online file creater for GitHub. Now that I want to use the Windows GitHub version. I am not able to understand why it isn't working. I have created ...
0
votes
1answer
509 views

Bitbucket ssh Read from socket failed: Connection reset by peer

I'm using ssh to access git repository on bitbucket.org. Suddenly I can no longer connect to it. Haven't installed anything or did any changes to the settings. $ ssh -v git@bitbucket.org ...
1
vote
1answer
354 views

How to create a user to for Jenkins to execute command as a root user?

When I create a Jenkins job with Git to manage the source code, I enter a local repository URL, it failed: Failed to connect to repository: Command"git ls-remote -h /myRepositoryPath HEAD" returned ...
1
vote
1answer
1k views

Is there a way to edit a commit message in github?

Is there a way to edit a commit message after committing and pushing to github? I see that there is a 'add a note' as well as inline commenting, but no actual editing of a commit message. There is ...
0
votes
0answers
129 views

Build a jenkins project with Git to manage source code fail with “no developer tools were found at 'Applications/Xcode.app'”

I have installed XCode4.6.2 in Mac, and start up a Jenkins site as "localhost:8080", when I create a job named "My First TDD Project" with free-style software project, I choose "Git" for source code ...
0
votes
0answers
33 views

disable direct access to git repo

I have set up a local git repo on a linux machine and have users check in and check out from it: /myfolder/gitrepo/ How can I disable any modification access to that folder directly unless they ...
1
vote
1answer
702 views

Visual Studio - Using GIT and SVN

Work uses SVN. I want to use GIT for private use. I was also exploring TFS, but it doesn't seem to cooperate with multiple collections, so I stopped looking into it. Currently I use AnkhSVN. I want ...
1
vote
1answer
174 views

Unable to clone Git repository using Visual Studio Online

I'm trying to clone WinJS to my Azure Web Site using Visual Studio Online "Monaco". When I type git clone https://github.com/winjs/winjs.git in the online console I get the error Can only clone a git ...
0
votes
0answers
11 views

Delete old files from git repo [duplicate]

is there a possibility to remove old files and folders from the complete GIT repository (also in all commits)? I´m using GIT 1.9 and Gitlab 6.8.
0
votes
0answers
21 views

Cannot add contents of a directory to git

I have a directory A which is monitored by Git. In this directory, I have another directory B which is not empty. However, Git does not add the contents of this directory. When I push the repository ...
1
vote
2answers
1k views

How to delete origin/master in Git

I cannot remove origin/master from my server. No idea why. The error message is the following remote: error: By default, deleting the current branch is denied, because the next remote: error: ...
2
votes
1answer
94 views

GIT via OpenSSH in Powershell is fine, so why can't I connect in plain cmd console?

when I run ssh user@servername01 ...under powershell it connects without a problem, however when I run the same command under a standard cmd prompt I am prompted for a password (no password is set ...
0
votes
1answer
34 views

How to pull from remote 'A' to remote 'B' in Git

I have 2 remote branches: origin/master and origin/my_123 - my_123 was branched off of master at some point but is now behind. I'd like to pull from master into my_123 so that my_123 is in sync with ...
0
votes
0answers
118 views

Git/Bitbucket key management

I am new to devops or anything that is connected with managing multiple machines so I may be asking some newbie question. For one of the projects on my university I now have access to some instances ...
0
votes
1answer
1k views

Github for Windows 7: Missing libeay32.dll

I'm new to using git and github.com. Via an ubuntu machine, I've created a repository on github.com, and I've committed to this already. Now, I'd like to use the code on my Windows 7 machine as well. ...
1
vote
0answers
347 views

Disabling TLS protocols for https:// URLs in git

Since my update to Ubuntu 14.04, I cannot connect to the companies git server. It uses https with the SSL protocols only. When running git clone (or any other git command that connects to the server) ...
4
votes
3answers
2k views

How to execute commands as root in git post-receive hook

I just recently set up a remote git repo on a server for a web app running as an Upstart service. I'd like to use the post-receive hook to trigger actions that are required to update the application ...
0
votes
1answer
21 views

How can I create pushable remote Mercurial repos that works over SSH?

I have been using git for a while and I use git and ssh. I have couple bare repos on my server which I use to pull and push on multiple computers. Now I want to try Mercurial for some of my projects ...
1
vote
1answer
113 views

Color in bash prompt messes up git output

I changed my .bashrc to include export PS1="\033[1;33m\u@\h: \w>\033[0m" so that my shell prompt would be colored, but it seems the \033 messes up git output (log and diff, at least). I see ...
8
votes
2answers
2k views

I need sudo without password prompt, for scripts. Where did I go wrong?

I am in sudo group all right: $ id uid=1002(molot) gid=1002(molot) groups=1002(molot),27(sudo),33(www-data) In my sudores I seem to have appropriate setting: sudo ALL=(ALL:ALL) NOPASSWD: ALL ...
1
vote
1answer
69 views

changing apache root directory prevents me from accessing .git/config

I copied over a php folder from computer to another and hooked it up to apache.. however apache would return page forbidden.. after doing some research it turned out it was a matter of giving apache ...
2
votes
3answers
2k views

How to assess why git clone/fetch could be so slow?

I have git installed on Ubuntu Server 12.0.4 and work in tandem with gitlab. Ubuntu itself is a virtual machine in Hyper-V Server 2012 R2. I'm comparing performance of command git clone ...
1
vote
0answers
131 views

Running Gitlab with Ubuntu Server on a fanless / low wattage pc [closed]

I am looking for a small fanless pc to run Gitlab with Ubuntu Server. Which brand and model pc would you recommend? Will the upcomming fanless Zotac Zbox C Series be an option? Or will the Intel NUC ...
0
votes
1answer
151 views

Version Control Foreman / Puppet

I have just setup Foreman for the first time & am not sure how to go about putting all of my configurations under version control. I know I can use Git for each module I install on my Puppet ...
1
vote
2answers
95 views

How best to backup My Documents (maybe with Git?) [closed]

I would like a good process to backup My Documents on my hard drive periodically to an external hard drive or repository. I want to have a snap shot at each backup period, and don't want to waste ...
0
votes
2answers
619 views

Which version of Git to use with Windows

I wish to install Git on Windows 7. There appears to be two versions. I will be using it in conjunction with Tortoise Git. http://msysgit.github.io/ http://git-scm.com/downloads An answer on ...
1
vote
0answers
46 views

Git suddenly started to choke on “git pull” for only one repo

Yesterday, at some point in time, my Git for Windows suddenly started to choke (hang forever) on git pull for only one repo. I managed to pull changes ten times this day, I started to fail on eleventh ...
2
votes
1answer
71 views

Git amend via tig

I often use tig to select which modifications to add, and which to commit. I scroll via the patches, push u to add, and when I am satisfied, I press C to commit the added changes. Every once in a ...
0
votes
1answer
72 views

clone from bitbucket.org in command on guest linux virtual box through proxy in host

I am using an ubuntu virtualbox guest on a windows 8 host. I am going to clone a repo from www.bitbucket.org using git command in guest. BUT the problem: I realzied that I cannot connect to ...
0
votes
0answers
28 views

How to discard all working tree changes except for assume-unchanged files in Git?

I'm looking for a command like git reset --hard except for those assume-unchaged ones. For example: user@host /d/projects/test $ git init Initialized empty Git repository in d:/projects/test/.git/ ...
1
vote
1answer
640 views

How to install Ultisnips with Snippets on Linux?

I'm using Slackware and trying to install and use Ultisnips. I use Pathogen and the documentation says the following: > Using Pathogen: UltiSnips-using-pathogen If you are a pathogen user, ...
-1
votes
1answer
355 views

how to run a shell script on git commit

1) i have a shell script which basically contains some(database testing and integrating test code) , but i have to run this shell script when ever there is commit (or any change ) in my git repo the ...
0
votes
0answers
30 views

Recompiling a python program doesn't produce executable

Today I installed Mathics from their github repository: $ git clone https://github.com/poeschko/Mathics.git $ sudo python setup.py install And then I decided to modify the source a little bit and ...
6
votes
5answers
11k views

SSL certificate verification failure in Chrome, Heartbleed bug?

For some reasons I'm running into SSL problems since a few days. When trying to clone a git repository for example I receive the following error message: fatal: unable to access ...
0
votes
1answer
887 views

Can't get vundle or neobundle to work on GVim on Windows 7 64bit

Can't get these add-ons (vundle or neobundle) to work on my Windows 7 machine. Everytime I try to install plugins I'm getting the following error messages: Error detected while processing function ...
0
votes
1answer
30 views

is git-upload-pack necessary?

I'm getting the following error when trying to pull from a git repository: sh: git-upload-pack: not found I've seen many discussions about it and all of them suggest setting some path so that the ...
1
vote
1answer
106 views

Should a vagrant project be its own repo

So I've been working with Vagrant and I find it to be excellent but I'm wondering what the best or most common use of it is I imagine that there to be two ways to use it: The first would be to create ...
0
votes
0answers
94 views

Homebrew is not installing on Mavericks

git fetch is failing during installation of homebrew. Has anyone seen this before? Here's the transcript. I've tried removing /usr/local in its entirety, I still get this problem the next time ...
0
votes
1answer
40 views

Can I assign a hotkey to a cmd/Git Shell command?

So I have a Git Shell that I use to compile stuff. Typical commands are: cls ; make ; ./bin/Executable.exe Is it possible to assign a certain hotkey to this command in the existing shell?
0
votes
1answer
251 views

Better setting of EDITOR environment variable to use Sublime Text 2 as system editor?

I want to use Sublime Text 2 for editing Git commit messages. Right now I have the following in my bash rc file: export EDITOR="sublime -nw" This works well if Sublime is already running. But if ...
0
votes
2answers
230 views

Parse Git Branch Stopped Working (OSX)

I use a method called parse_git_branch which is called by my PROMPT. I'm using zshell, but I don't understand why this would stop working. Here's the function: parse_git_branch() { ...
0
votes
2answers
170 views

git using different version of vim than zsh

I've got a plugin called YouCompleteMe installed in vim. When vim starts with this plugin installed, it will raise a warning if the version of vim is under the minimum required. I'm using vim ...
-1
votes
1answer
21 views

Creation of commit object's Index in git?

Please guide me that the SHA that is created when the commit object is created is either the SHA of only the contents of file or there are some other inputs too to the HASH function like author of ...
1
vote
1answer
163 views

Accessing gitbash commands through conemu

I have tried to access gitbash command using conemu terminal, but I am unable to do so for some reason, it does not work for me. I check all the answers given including this Git Bash Here in ConEmu ...
0
votes
0answers
82 views

500 Internal Error when adding public key - Redmine - & issue with git repos

I am experiencing a problem when i try to add public key for a user in Redmine. Everytime i paste public key into a field in redmine and i try to save this user key i get redirected to Internal Error ...
0
votes
2answers
142 views

Installation of Git on Debian 7.4 fails

I tried to install Git (from source) on Debian 7.4, but the installation fails with the following message: Writing perl.mak for Git Writing MYMETA.yml * new perl-specific parameters GEN ...