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
2 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
16 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
16 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
21 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
15 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
60 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
11 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
9 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
43 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
6 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
14 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
11 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
35 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
67 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
31 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
26 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
38 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
25 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
20 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
5 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
110 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
10 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
0answers
33 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 ...
0
votes
0answers
30 views

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

I would like to use OS X Server 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, but I am looking for a ...
1
vote
0answers
15 views

Cloning a git repo

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
37 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
26 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 ...
1
vote
1answer
25 views

Make Git Bash open to root directory from custom link

I'm using rainmeter to make a custom dashboard for windows and ran into a problem making a custom start button for git bash needing it to open to my root directory. The odd part is I have gitbash ...
0
votes
0answers
15 views

Git pull in jailed environment

There is a user on my server which is jailed by SSH using ChrootDirectory to '/var/jail' This user is trying to use several git commands, but not all of them are working. The following message is ...
1
vote
1answer
25 views

Setting up remote git repo that is on an encrypted drive?

I would like to set a remote git repo that I will be pushing to regulary, which is easy to do. But I want to set up this remote repo to be on a LUKS (Linux Unified Key Setup) formatted drive (via ...
0
votes
0answers
32 views

.dotfiles gitignore not ignoring vim/tmp folder

tmp=.dotfiles/vim/tmp.GITIGNORE=.dotfiles/.gitignore. I have created a gitignore for vim/tmp inside my .dotfiles but they are not being ignored. My temp folder contains /backup/swap/undo/ and every ...
0
votes
1answer
11 views

How to merge a git repository once split off without history

I have a master git repository, and another repository, that contains code that once was just copied from the other codebase without history, but then versioned by git again. So the second repository ...
1
vote
0answers
11 views

How to upgrade Git in Aptana Studio 3

I just did an update to Aptana Studio 3 to the latest version but unfortunately it did not update the git binary in the built-in shell facility. How do I update git (more precisely msysgit) in Aptana ...
2
votes
1answer
17 views

Getting started with GIT, basic flow

I'm getting started with GIT and would like to know a very simple workflow for branching. I'm hosting my repo online and have various features to add locally. It's our plan to make feature branches ...
0
votes
1answer
58 views

CentOS yum — pre-existing rpmdb issues

I'm trying to install git on a developer box and I get the following: You could try using --skip-broken to work around the problem ** Found 3 pre-existing rpmdb problem(s), 'yum check' output ...
0
votes
1answer
98 views

cannot run bundle using zshell, get git errors

I have oh-my-zshell installed and these are my plugins plugins=(git rails ruby coffee npm bundler) I can run npm fine, but whenever I run bundle install inside m project i get this error etching ...
0
votes
1answer
9 views

zsh git completion reports _git:4113: bad set of key/value pairs for associative array

I have installed zsh and git on SLES 11 SP2. When I try to trigger an auto complete for a git command I get the following error message: zsh git completion reports _git:4113: This is my .zshrc # ...
0
votes
1answer
30 views

.odt vs .fodt: which is most space effective for git repositories?

Which is most space effective for git repositories: LibreOffice/OpenOffice .odt files or .fodt files? I think that it should be .fodt, since with the uncompressed XML format .fodt the repository ...
1
vote
1answer
48 views

On Ubuntu 14.04 with laptop mousepad disabled, how do I paste from clipboard?

I just installed Ubuntu 14.04 on my brand new laptop, having disabled the mousepad, so as to get used to the keyboard, I have just set up my Github account and SSH. The final step of account setup is ...
2
votes
1answer
52 views

Git :: A lot of untracked files

I've just added a new git repo on my machine and I've noticed an extremely messy git status. It's showing a bunch of files from my desktop, c:/, basically almost everywhere. It's going outside the ...
0
votes
0answers
10 views

First time using Git questions

I started yesterday using Git and I'm very confused about adding contributors to my project. Tutorials say that I need to create a user called git and a group called git. sudo adduser --system ...
0
votes
0answers
63 views

bash: git-receive-pack: command not found

I've just changed the git remote for my server, and now when I try to use git push web master, (after staging and committing the changes), I get this: bash: git-receive-pack: command not found fatal: ...
1
vote
0answers
27 views

Google Drive with a .gitignore like option

With git and hg, etc, you can define .gitignore file that will prevent certain folders/filetypes from being saved to the repo. Is there anything of that nature for Google Drive? In the preferences, ...
2
votes
2answers
84 views

what is `ssh-agent bin/bash` and why I have to `ssh-add` everytime

I have to run the following commands each time I restart: ssh-agent /bin/bash ssh-add ~/.ssh/key_rsa First question is why is /bin/bash necessary and what it is used for? Second, Is it ok I run ...
0
votes
1answer
136 views

Error while installing Perl package Term::ReadKey in Cygwin

I'm trying to use git via cygwin Well, I used this command to clone the svn content to a local git repository: git svn clone svn://path/to/my/project --username myuser Git was returning: ...
1
vote
1answer
116 views

How to do full version control on OneDrive (with git?)

I'm using OneDrive to store all sorts of files (not just Office files). Unfortunately, versioning isn't supported except for Office files. I'd like to do this manually, with git or svn or anything ...
5
votes
1answer
307 views

How to store git repos of abandoned projects?

I have over 200 projects on my workstation, every one is a git repository. Most of them are superseded or otherwise abandoned. I still keep the code in case I ever need anything from them. Currently, ...
0
votes
0answers
23 views

Windows .bat or .sh file to prepare multiple repositories for sourcetree

What I am looking to do is run a script that will: delete folders a,b and c from a directory. re-create the folders a,b and c as a a local git repository (using their individual git source urls) ...