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

Git-related: “Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.” Error

I am receiving the following message upon writing the following lines: git remote add origin https://github.com/[username]/[project name].git git push -u origin master error: "fatal: ...
0
votes
0answers
8 views

Repository not found error for private git server

I am trying to set up a private git server with http(s) access on nginx. When I try to clone a repo, I get an error: $ git clone http://git.example.com/git/MyRepo.git Cloning into 'MyRepo'... ...
0
votes
0answers
7 views

Soft links behaving badly in OS X

I have a very small open source project used to help people with speech disabilities communicate. You can see a working version here and the github for the whole project is here. I'm currently ...
0
votes
0answers
28 views

Configuring a Git server on Arch Linux

I’m looking to turn my website that I’m building from scratch (that is, the root of the site) into a Git server. Basically I’d like to be able to have a local copy that I can edit through Eclipse and ...
0
votes
0answers
20 views

Ubuntu Server with Multiple Users [on hold]

I am very new to Linux systems; that's why my friends and I are trying to learn Linux by developing a meteor app on it. I would also like some advice on my current project. This is what I am thinking ...
0
votes
0answers
4 views

git submodule foreach git pull origin master vs. git pull --recursive-submodules

I manage a repository with several submodules. For a while now I've been using $ git submodule foreach git pull origin master to pull in the latest changes for all of these guys. However, recently ...
0
votes
0answers
11 views

Defining git commands on windows

I have a script that I use to add some functionality to git. For this particular case I cannot do it with an alias. The name of the script is git-cim. In linux if I place this script in my path and ...
0
votes
0answers
7 views

Adding all files listed as to commit in the gitignore file at once in GitHub for Windows

When committing in GitHub for Windows, is there any way to add all files listed as to commit in the .gitignore file at once?
0
votes
1answer
8 views

Eclipse IDE Git client - pushing code to github

I tried to push my code to github (by the eclipse) , and I encountered a problem. I did the following steps: On my project (in eclipse) : right click > team > share project > click on "git" > next. ...
1
vote
0answers
12 views

I get three related errors when trying to push a commit to github concerningproc/10/exe. What should I do?

When trying to commit to github I get these errors after I type the command $ git add . $ error: readlink("proc/10/exe"): No such file or directory $ error: unable to index file proc/10/exe $ ...
0
votes
1answer
13 views

how to find commit id by commited text in git log?

I have some block of code commited to a repo a long long time ago. I need to find the commit id, but I don't even remember neither commit's title not its author. Is there any way to find the id?
0
votes
0answers
37 views

How can I keep track of where commits came from once they've been merged? [migrated]

My company does not maintain the repository with git (we effectively use CVS), but I keep a repo locally for my own sanity. In the past, I've wanted to bring up commits related to, say, ...
0
votes
0answers
6 views

Gitlab w/ nginx not loading images [closed]

I setup gitlab and nginx but when I go to my domain I get this.. http://prntscr.com/5e1ej3 I'm not to familiar with nginx so I'm a bit lost.
0
votes
0answers
19 views

Pulling a repo on Raspberry PI boot?

I'm getting stuck on this : I try to make a git pull on a repo on Raspberry boot. What I've done so far : In /etc/rc.local : su pi -c bash /home/pi/boot.sh My boot.sh script : #!/bin/sh set -e ...
0
votes
1answer
14 views

Permission denied (publickey) [closed]

I have this error when trying to git clone Camunda source code. I've read about it and it requires SSH. I installed Putty but what's next? how to fix it? C:\>git clone ...
0
votes
0answers
7 views

how to re-run git pre-commit hook on commit

Is it possible to re-run a git pre-commit hook on a previous commit? Use case: I am committing various checkpoints of my code with git commit --no-verify, and then later on I want to fix all the ...
0
votes
0answers
14 views

how to show full file name/path when working with git pull?

I'm working with git. when i pull files from central repository, some times I can't get a full file name or path, something like this: ...missed_some_head_file.ext is there a switch or method when ...
1
vote
1answer
19 views

Skip username prompt when using git

Is there a way to skip the username prompt when I git pull? I read about skipping the entire authentification e.g. with the help of keys or ssh agents. However, I only want to send my username. Is ...
1
vote
0answers
12 views

Best practice to host self-maintained Debian packages on GitHub

This question is especially about the best practice to host self-maintained Debian packages on GitHub. Here is my dilemma: It is commonly recommended not to put the debian folder within the source ...
0
votes
0answers
13 views

Can't sync repositoy from GitHub Mac client

When I try to sync using the GitHub client for Mac, I get this message: Authentication Failed You may not have permission to access MyRepository. Check Preferences to make sure you’re still logged ...
0
votes
1answer
65 views

How to git pull without asking password?

I have a problem for make a auto pull for a git repository. I explain my situation : i have 2 sever on linux (Debian), one for the repos (dev01) and another one for make documentation with doxygen ...
0
votes
0answers
6 views

Convention / File Hierarchy for Compiling Source

Background: I have been compiling a lot of source code lately and I am hoping to learn of a convention to organize source code / compiled output. As an example, I have been statically compiling ...
0
votes
0answers
18 views

GitHub for Windows: commit size

When committing in GitHub for Windows, is there any way to see the total size of the files that are being committed? I am aware that we can see the repository size on the GitHub website.
0
votes
1answer
23 views

Is it safe to git clone https://usr:PWD@gitserver/repo with plain text passphrase in the URL?

Is it safe to git clone https://usr:PWD@gitserver/repo with plain text passphrase in the URL?
0
votes
1answer
28 views

Images and styles do not load in GitLab

I've installed gitlab on arch and now when I connect to it using localhost, everything displays fine If I use my domain, it works but displays no icons or images and the stylesheet is messed up
0
votes
1answer
17 views

Match unix shell promp to that of vagrant

Not sure what it's called but in vagrant when logged in as the vagrant user I get a pretty line before I run commands like so: It even says what branch i'm on in git. What is this line called and ...
1
vote
0answers
93 views

Vim silent launch of ConEmu (into Git Bash) - Windows 7 Command Prompt seizes

From a Windows 7 Command Prompt: ConEmu.exe /cmd "C:\Program Files\Git\bin\sh.exe" --login -i && exit opens ConEmu (or a new tab therein) logged into Git Bash for the current directory, and ...
0
votes
0answers
15 views

rsync a git project to clone it for the first time?

I want to use Git to version our existing magento shop. I initiated git on the production server (which has the most up-to-date code), added all files except for several directories like cache, and ...
0
votes
0answers
23 views

Github cannot be established

Hi I am trying to build Camunda Web App using Grunt. But it reports that Github server connection cannot established. How to fix it? Windows 7, Git & Maven & NodeJS all are set up in ...
1
vote
2answers
66 views

SSH Multiple Session -> “stdin: is not a tty”

I have a Linux-VPS, using it as GIT- and HTTP-Server. HTTP: Apache Git-server: git-http-backend via vhost When i log me in via SSH, everything is fine. But if i open a second SSH-Connection , i get ...
0
votes
0answers
8 views

Clone a git Repo with GitGutter

I'm new to sublime3 and trying to use GitGutter for version control and I don't know how to clone with GitGutter package a Git Project. How do I do this with SSH access under Windows
0
votes
0answers
24 views

'git status --porcelain' failed in submodule

Whenever I try to commit I get these errors: error: bad index file sha1 signature fatal: index file corrupt fatal: 'git status --porcelain' failed in submodule amazon-s3-php-class Why? What's ...
0
votes
0answers
16 views

Git over Bitvise SSH produces git-upload-pack error

I have been trying to set up a simple SSH server on my PC to use with Git. The idea is to have a git repo on my PC and push any work I do from my laptop when outside. Both machines run Windows 8. I ...
0
votes
0answers
85 views

“fatal: index file corrupt” keeps repeating in git

The following error keeps repeating even after I’ve tried the recommended: rm .git/index git reset But I still get this error: error: bad index file sha1 signature fatal: index file corrupt fatal: ...
0
votes
1answer
7 views

How to temporarily try dev branch of a Git project for which I used aptitude to install stable branch?

I have installed Zathura via aptitude and am running the Debian “Jessie” packaged version. I want to temporarily download and test the development branch from their Git project repository. I’m afraid ...
1
vote
0answers
172 views

SSH authentication fails when trying to access Bitbucket from Jenkins

I'm trying to currently set up a Jenkins CI-server in Azure that pulls the project from Bitbucket and runs the tests. CI-server is running Ubuntu 14.10. I got the server running, and I generated ...
0
votes
0answers
68 views

How to auto-resolve dependencies in yum with redhat?

I came across the following issues trying to get git: yum install git-all.x86_64 Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Updating certificate-based ...
0
votes
0answers
40 views

git clone - Permission denied (publickey). fatal: The remote end hung up unexpectedly

I want to clone from my git server using ssh. But I always get this error: Permission denied (publickey). fatal: The remote end hung up unexpectedly I added the key to the user I am trying to clone ...
0
votes
0answers
41 views

PowerShell issues with spaces in directory names

PowerShell has issues with spaces in directory names. I am trying to execute a file in the same directory as the PS1 script like so: .\getGravatarsForGource.pl It works fine when the directory ...
2
votes
2answers
28 views

How can I make Github for Windows use my real name for commits?

Normally, I use the email address and my real name for git commits. However, the Github for Windows client defaults to using the Github username for the commit author info. Because of that, I have ...
0
votes
3answers
24 views

How to avoid .git when search for a string using grep

I am trying to make a search in a folder for a string using grep. grep -r "word" . But it is including a search in .git files which I would like to avoid. Thanks
1
vote
1answer
23 views

ZSH completion of long options gives short options

When trying to complete for example git difftool --cached, ZSH should complete directly, but instead if gives me a lot of short options to choose from, am I doing something wrong? My current config ...
0
votes
0answers
6 views

Pulling and pushing local Git repo with Hg?

I want to be able to pull from and push to local (file://) git repo for some compability reasons. What are my current "up to date" options? I used hg convert successfully but I want to be able to ...
0
votes
1answer
162 views

Gitlab Omnibus not working: 502 error

I am trying to set up Gitlab Omnibus 7.4.2 on my Ubuntu 14.10 x64 system, but when I try to access it from my computer it shows 502 Gitlab is not responding Please contact your administrator if ...
0
votes
0answers
13 views

Working with nested git repos in webstorm

I have a git project in web storm and cloned another git repo into it and a pop up came with unregistered cvs root which I ignored. Now I want to commit the directory with the inner git repo but I ...
0
votes
1answer
82 views

Git in Visual Studio 2013 stops working abruptly

Yesterday, I went home with Git working perfectly well inside Visual Studio 2013. I could 'Compare with unmodified' for a source file, I would see the version control status of my source files, and ...
-2
votes
0answers
66 views

Setting up a git (ssh) server using OS X Server

I would like to use OS X Server (4.0 on OS X 10.10) to set up a git server that I can ssh into from other machines on my network. I realize that Xcode Service has repository functionality built in, ...
1
vote
0answers
19 views

Cloning a git repo [closed]

I am trying to clone a repository for testing web apps. I shared the folder and ran the command: git clone E:\weewikipaint weewikipaint from C:\projects directory. I get the directory ...
0
votes
1answer
87 views

How to install mintty into 'Git Bash' on windows?

I have installed git on windows from http://git-scm.com/download/win and I use the Git Bash shortcut to access git commands. Unfortunately, Git Bash uses the Windows Command (CMD.EXE) Terminal which ...
0
votes
1answer
40 views

Git is in the PATH, but is not being recognized as a command

I've recently reinstalled Git, and I just can't get it to run off the native Windows command prompt anymore. I'm sure it is in Path environment variable, as you can see: C:\Users\Ult>where git ...