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

1
vote
2answers
3k views

Setting up git, path errors when pushing/cloning from local to NAS

I'm setting up a NAS server with Git for the first time, so please forgive the noobish questions (it also means I am super thankful for any detailed explanations you can give me, because I am kind of ...
0
votes
2answers
25 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 ...
21
votes
3answers
25k views

Install Git under OSX Mavericks

I've just completed a fresh install of Mavericks. Then I went to git-scm.com and downloaded the Mac installer and installed Git from that. Now whenever I go into the terminal and type git I get this: ...
0
votes
1answer
212 views

Irritating GitHub Conduit dialog opening up whenever I visit a GitHub link — can I get rid of it?

X-Post from a [closed] StackOverflow question. I have a problem that sprang up out of nowhere in the past two or three days. Whenever I'm using Git in Terminal (which is pretty much always), if I ...
0
votes
0answers
3 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 ...
15
votes
3answers
3k views

How can I enable colored output for OSX diff?

I need to diff two files (not two versions of the same file, they are however tracked by git, but that is unrelated) and I would like some colored output, how can I achieve that? $ diff file_1 file_2 ...
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
0answers
17 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
17 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?
92
votes
9answers
69k views

How do I ensure Git doesn't ask me for my GitHub username and password?

I am working with a repo on GitHub and everytime I try to push something, it asks for my GitHub username and password. I don't want it doing that. I tried the instructions on setting your email in ...
2
votes
2answers
341 views

git remove file with umlaut

I recently updated from git 1.7.7.1 to git 1.8.3, and now I experience problems with files that contain umlauts in their names. When I try to remove them, I get the error fatal: pathspec ...
1
vote
2answers
2k views

How to clone Git repo on my local server

I'm trying to use Git for the first time (I have used Mercurial before so I know the basic setup). Everything is ready on the server side with the following properties: User name: git Domain: ...
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
70 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 ...
1
vote
1answer
2k views

How do I pull big repos from git on windows without getting “Out of memory”?

I am using the Git Gui provided with the git client fromt he git website. The cygwin version has the same problem. error: git upload-pack: git-pack-objects died with error. fatal: git upload-pack: ...
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
11 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 ...
3
votes
3answers
3k views

Is it OK to copy (not clone) a git repository using basic Unix commands?

I’m pretty new to using git and was wondering if it’s ok to copy a Git repository with common UNIX commands (like cp or tar/untag), rather than through git clone. I’m in the situation where I have ...
0
votes
3answers
34 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 ...
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
7 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
17 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
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
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 ...
1
vote
2answers
856 views

Homebrew Can't Link Git

I'm am getting an error message when I try to link git. Linking /usr/local/Cellar/git/1.8.5.3... Warning: Could not link git. Unlinking... Error: Could not symlink file: ...
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
77 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 ...
1
vote
2answers
3k views

How to auto commit to my git repository using cron?

I look into a lot of answers about this subject, but something is wrong here, let me explain. I create this script, to make my cron cleaner :) #!/bin/bash cd ...
0
votes
3answers
2k views

issue installing git on redhat 5.6

I get the following error when run: It is somehow missing the perl dependencies, I am not sure do I need to update the perl or remove something as a workaround! yum install git Loaded plugins: ...
0
votes
0answers
37 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
27 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
1answer
54 views

Daily crontab with hg, git and svn

Hello I have made a script that updates some repos from git merc and svn, then updates a git repo. The script works manually but doesn't work in crontab, here is the script: #!/bin/bash cd ...
0
votes
2answers
2k views

How do I add as editor Dreamweaver to work in GIT?

How do I add Dreamweaver as the editor in Git? git config --global core.editor??? $ slime README.md sh.exe": slime: command not found
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
25
votes
3answers
7k views

git “ping”: check if remote repository exists

I'd like to know whether a remote repository exists. Here's what I came up with: git ls-remote "$REPO_URL" &> /dev/null Is there any better way?
0
votes
1answer
126 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 ...
41
votes
5answers
51k views

How to reset master to origin/master?

Can I do following in a simpler way? git checkout origin/master git branch -D master git branch master git checkout master
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
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
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 ...
11
votes
5answers
2k views

How can I discard file change from fugitives status window?

When in the fugitive-plugin status window, accessed using :Gstatus, it's possible to diff changes for a file using D and toggle files for commit using -. Is there any similar shortcut for discarding ...
0
votes
0answers
40 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
32 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 ...
5
votes
1answer
1k views

How can I visualize Git Flow branches?

I use the Git Flow workflow. But I can't generate a good-looking log in tree graph. The size is too small and won't show all the branch relationships like in the Git Flow chart. How can I create a ...
0
votes
1answer
13 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 ...
0
votes
1answer
32 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 ...