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 ...
2
votes
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: ...
-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, ...
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 ...
3
votes
0answers
30 views

Get informed on a specific github repository change

There are a few repositories holding plugins for certain environments/programs. One example would be Homebrew. Another would be oh-my-zsh. I want to be able to get notified whenever a new plugin is ...
22
votes
8answers
26k views

git push fatal failed

I somehow deleted the whole directory of my code branch. I cloned a new one. It worked fine except pushing. ~/workspace/wtf (mybranch)]$ git push origin mybranch error: Cannot access URL [my url], ...
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
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 ...
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
1answer
122 views

How to setup git for RStudio projects on shared Windows folders

I have all my RStudio projects in a shared Windows folder, say //server/share. I can successfully create a project at //server/share/project, and when I do so in an empty folder RStudio populates the ...
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
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
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
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.
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 ...
1
vote
3answers
243 views

Ignore NTUSER.DAT files when ls on Git Bash?

I use Git Bash as my terminal on Windows. When I ls in my Home directory, I see some NTUSER.DAT entries, which I assume are system files. They don't appear when I run dir in the default Windows ...
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
1answer
68 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
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 ...
2
votes
1answer
44 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, ...
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 ...
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 ...
8
votes
3answers
3k views

Git corrupt master branch

I open my Git repository using gitExtensions on Windows 7 for a Visual Studio project. It is suddenly empty. The repository exists, but all my commits have disappeared. I am using the graphical ...
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 ...
6
votes
3answers
4k views

How to upgrade to latest git on debian 7?

I have installed git through apt-get on debian 7 which gives me: # git --version git version 1.7.10.4 I would like to ugrade to the latests version of git. I have tried: sudo apt-get install ...
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
1answer
64 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 ...
22
votes
3answers
26k 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
222 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
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 ...
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
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
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?
93
votes
9answers
70k 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
361 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
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 ...