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

-3
votes
1answer
46 views

Move Git repo from hard drive to server?

I installed Git on my Windows PC and now I have several git repositories on my hard drive. I'd like to move the repositories to my Linux server, which already has Git installed. How do I do this? ...
1
vote
0answers
47 views

Working git from the command line

So I use Github for Windows (that fancy GUI app) to manage my various git-based projects, but I've noticed that on my machine I can't use the command line git to do anything with my projects. From the ...
0
votes
1answer
420 views

Can't use homebrew installed git

I'm encountering a really weird issue when I try to use the latest version of git I just installed via homebrew. which git is pointing me to the homebrew install, but calling git returns the original ...
1
vote
1answer
25 views

How can I put my skype notification settings in a public git repo

I maintain key configuration files in a public git repo - I'd like to put my skype configuration in it too, because I find the default configuration way too noisy. The newer version has started ...
1
vote
0answers
113 views

Git does not prompt for ssh key password

I have an ssh key which is password protected. When I attempt to SSH into a remote computer (ssh user@example.com), I get a little dialog which prompts me for the password. Once I have provided the ...
0
votes
1answer
13 views

Emulate ff-only behaviour on Git 1.6.0.2

I have the following problem on one of our servers: I want a user that pulls from a Git repo on a regular basis (using a cronjob), but only doing fast-forward pulls (the content on the server changes ...
2
votes
0answers
34 views

How can I browse through Homebrew's formulae according to popularity (# downloads all time)?

Though I can easily find an alphabetical list of all available formulae, there seems to be no resource online, including at Brew's Github, or seemingly anywhere where I'm able to browse through ...
0
votes
2answers
79 views

How can I use a text editor other than Vim with Git?

I hate Vim, but it seems to be the only program that correctly saves the file and executes a rebase interactive. Is there any way to use a different editor. I'd prefer to use a GUI, like Text ...
0
votes
1answer
31 views

MSysGit is adding a cygwin prefix to non-cygwin paths and then failing to find its current directory

I've had Cygwin's git installed on my Windows 7 64 bit machine and it's been working fine. However, I've found myself wanting to be able to use git from non-Cygwin programs (in particular, Windows ...
1
vote
0answers
45 views

git corrupted on ubuntu vbox, power failure with proper shutdown

i use git on ubuntu headless server on virtualbox on my laptop. when i shut down the pc, i don't bother shutting down the virtualbox, i just shutdown the pc. it never was a problem. it was fine since ...
0
votes
1answer
32 views

How is the location of .ssh determined?

On my windows machine, when I ran ssh-keygen, it created a directory at ~/.ssh with the key (and a known hosts file), and then I could use ssh to connect to sites (and git worked with ssh). On my ...
1
vote
0answers
214 views

AWS git clone or pull not working and no error message

In one of AWS/AMI instance, I'm trying to git clone ... it says Cloning into '<repo name>'... but it doesn't clone the repository and not showing any error or any other messages, I have also ...
0
votes
1answer
128 views

Cannot run Git from windows command line?

I have an unusual problem. I am not able to run git from the commanline: c:\> git (popup) c:\> Popup: I also found this (non-) info in the windows logs: How can I get git to run from ...
0
votes
0answers
33 views

Gitolite Setup fails

I am getting the below error when I am trying to setup the gitolite. FATAL: errors found but logfile could not be created FATAL: /home/git/.gitolite/logs/gitolite-2014-06.log: No such file or ...
0
votes
0answers
46 views

git gui cannot handle non-ascii character in .gitconfig?

I just encountered a problem: The git-gui will spill an error when I have non-ascii symbols in the .gitconfig. For example, if I have an entry: recentrepo = /home/<username>/∞ π ∅ Then it ...
0
votes
0answers
7 views

GIT GUI locking access to launching folder

In recent versions of GIT GUI (obtained from http://git-scm.com/download/win ), whenever I open it from the desktop, the folder from which I opened it is made inaccessible. I can still access the same ...
1
vote
2answers
329 views

How to commit files modified by pre-commit hook in Git

Im struggling for a couple of hours to make git store metadata (permissions/flags/etc) of the files using metastore and I use hooks/pre-commit for this. The script is invoked correctly, and the file ...
0
votes
1answer
18 views

Github email questions

I am running Fedora 20 which gives me the option to set up Evolution. I do not want to but I still want github to put my real email address on my commits. How do I do this, or will github do this once ...
2
votes
3answers
46 views

Version control (hg): can one directory be “synced” with different repositories?

I have a directory for my work files which is under version control (Mercurial): ~/myfiles In a subpath, I have a directory with Emacs packages for my org-mode setup: ~/myfiles/org-mode As I said, ...
0
votes
1answer
51 views

Git commit two project code as single project in the repository

I am new on git open source. Actually I have one android project i.e AllScan, SO I commit all the code in original master repository when I made the changes into the code. Now I have implemented new ...
1
vote
1answer
38 views

Some Git questions

I'm starting to learn GitHub, and I have a few questions: How do I remotely remove files from my GitHub repo but keep them on my local machine? How do I upload ONLY .c files when my directory also ...
0
votes
1answer
219 views

How to show particular 'dot' or hidden files on OS X

Is there a way to configure OSX to always show particular dot files? I'm familiar with the commands to toggle between showing and hiding hidden files. Show Hidden Files: defaults write ...
2
votes
1answer
89 views

Understanding implications of sudo -u -H

I'm trying to install gitlab from this guide on Ubuntu 14.04 Server. It is also worth mentioning that I'm behind a http proxy. I'm having problems with this line in particular: sudo -u git -H git ...
0
votes
3answers
27 views

Installed GIT for Mac, but cannot locate file

I'm a new MAC user running OS X Mavricks and I am trying to get git up and running on my MAC. I successfully downloaded the program from the website and ran it. However I can not find it installed ...
0
votes
0answers
129 views

Change HOMEDRIVE windows variable to be dynamic on windows 7 to use Git

I have a Windows 7 notebook from work. I use Git as my version control system. I installed Git on the system before the administrator connected my computer to the office network. he changed my ...
0
votes
1answer
60 views

Using shared git working area on multiple hosts

I'm transitioning my personal projects from using subversion (svn) to GIT. In subversion, I've used a shared SVN working directory on several hosts (despite people telling me it wouldn't work), and ...
0
votes
0answers
979 views

Can't git push to Bitbucket.org — with ssh keys

I'm running doku-wiki on may (Ubuntu) laptop for some note taking. So, to keep backup, I was using Bitbucket and periodically pushed my wiki files there and everything worked smoothly. (a) Some time ...
0
votes
0answers
42 views

What is the correct root file to import to aptana from an xampp folder/existing web app or git repository?

Very noob question - all of this is new to me - not really sure how to get started. Overview: I'm taking over an existing wep project that has been developed in aptana and deployed in xampp setup - ...
0
votes
1answer
405 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
36 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
429 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
70 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
174 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
491 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
340 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
772 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
115 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
31 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 ...
0
votes
1answer
530 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
148 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
865 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
78 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
30 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
107 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
299 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
1k 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 ...