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
0answers
5 views

Simple read-only access for git repository over http: Will it just work?

I use gitolite to manage git repositories, that are available over the internet using SSH and private keys. I want to provide read-only access to some of those repositories from my LAN. I know that ...
-1
votes
0answers
10 views

OpenSSH for windows using /cygdrive/g/.ssh as home folder

My problem is simple. I just installed OpenSSH ( I also have cygwin, but I need to have the windows command line ssh.exe working ) . When doing ssh -T git@github.com I see that ssh.exe is trying to ...
9
votes
0answers
1k views

GitHub for Windows can not sync

I have my git repos hosted on a server using gitolite. I can access them using ssh, e.g. git clone git@example.net. This works from osx/linux. On a Win8 Box I now have installed GitHub for Windows ...
1
vote
2answers
158 views

What is the usual procedure for working with remote Git repositories? [on hold]

A slightly open question regarding best practices, I can find lots of functional guides for git but not much info about standard ordering of operations etc: Whats the standard/nice way of working ...
0
votes
0answers
3 views

Docker workflow with multiple packages and shared sources

Let's say I want to use Docker for an app, which consists of two parts. These parts are different, but they have some shared libraries. So, I have two folders: part1/ Dockerfile src/ part2/ ...
0
votes
1answer
28 views

Looking for 64-bit msysgit

My git operations are failing when they hit the 4GB limit memory limit for 32-bit processes. E:\source>file "C:\Program Files (x86)\Git\bin\git.exe" C:\Program Files (x86)\Git\bin\git.exe; PE32 ...
1
vote
1answer
12 views

How can I use 'git add' command on a file whose path includes a directory with spaces

I'm trying to use Git Add command to stage a couple of files for committing later. However, I can't seem to add it because Git bash doesn't like a directory with spaces in it. How can get around this ...
2
votes
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
10 views

How do I replace two lines each other in editor in Terminal?

I have this: pick 887b66f add 222 Dziewiecsil to flowers new title pick dc331cb new name of beginning commit And I want to get this: pick dc331cb new name of beginning commit pick 887b66f add 222 ...
-1
votes
0answers
20 views

Git for Windows 8

I was trying to install Git for Windows 8.1 . The application did not start and this is what I get from the log file: Please help. The following properties have been set: Property: [AdminUser] = true ...
0
votes
0answers
8 views

Suggestions on how to set up my dev server for dev clients (Linux and WIndows)?

I am creating web intranet systems and have always struggled with developing on multiple clients with moving files and databases over back and forth trying to keep everything in sync. I have now set ...
1
vote
1answer
1k views

Stop Thumbs.db files in certain folders

I'm a big fan of folder+file thumbnailing, so I'm all for thumbs.db files. However, I'm working on a Git project, so every time I commit my git folder to the online repository, some thumbs.db files ...
0
votes
1answer
16 views

generate an ssh key for all users

I want to generate a ssh key on a virtual server that will be in use for all users. I did created a key for myself ssh-keygen -t rsa -C "my@gamil.com" but it's under my user only. is there a ...
0
votes
1answer
12 views

gpg-agent is not requested in git calls

In git commits (gpg), git command always asks for passphrase while gpg-agent is running. I launch gpg-agent with $ eval `gpg-agent -s --enable-ssh-support --daemon --write-env-file ...
0
votes
0answers
9 views

Git not remembering password

I made a Github repo to manage my dotfiles and figure I should test it. So, I deleted the repo, did git clone REPO and thought it would work. Now, however, if I go into REPO's directory and try to ...
106
votes
4answers
88k views

How to tell git which private key to use?

ssh has the -i option to tell which private key file to use when authenticating: -i identity_file Selects a file from which the identity (private key) for RSA or DSA authentication is read. ...
1
vote
3answers
5k views

Git pulling without root access

On a Ubuntu Server 10.10 box, I seem to require root access to use git pull (in my /var/www directory). error: cannot open .git/FETCH_HEAD: Permission denied. I have tried chmodding 0777 /var/www and ...
0
votes
1answer
20 views

Where do git environment variables go?

When I set an environment variable in git using the export command, where does that variable get stored? It's not in my .gitconfig file, and it doesn't appear to be added to my Windows environment ...
0
votes
1answer
83 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 ...
5
votes
1answer
4k views

Git log alias - fatal: ambiguous argument '%ad': unknown revision or path

I'm trying to use Git Immersion's log alias: [alias] hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short but Git responds with fatal: ambiguous argument '%ad': unknown ...
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: ...
2
votes
2answers
1k views

git fatal: pack has 1 unresolved delta (index-pack failed)

I have a VERY strange and not so covered issue with a specific Windows Build Server (Jenkins Slave). In Jenkins I have a Job that pulls the latest code from a specific branch. The actual command the ...
0
votes
0answers
16 views

Automatically publish to AWS S3 when pushing to BitBucket

I am a complete noob to BitBucket and git stuff. Here is my secenerio, whenever i git push to BitBucket the newly created repo should be automatically published to AWS S3. I have searched and found ...
0
votes
3answers
2k views

installing GitLab on CentOS7 failing due to create on resource user

I am trying to install gitlab on a VM under VirtualBox running CentOS 7 I am following the following instructions: https://about.gitlab.com/downloads (for CentOS) I configured gitlab.rb to contain: ...
11
votes
3answers
2k views

Rewrite git history to replace all CRLF to LF?

I'm going to transfer a private Git repository from win32 box to Ubuntu. Though I can do a final dos2unix commit, but I'd like to rewrite the whole history, so some Git GUI will display log/diff ...
1
vote
1answer
28 views

Reverse output of a command

I'm trying to get the reversed output from git log --branches --graph --oneline (Sadly you can't pass --reverse to it because it says it's incompatible with --graph) Is there a way to reverse the ...
0
votes
1answer
74 views

windows 7 file explorer crashes after mkdir via git bash

My environment: Windows 7 Git v1.9.0 Steps to reproduce my problem: open a folder in windows explorer right click in that folder and select "Git Bash" execute: "mkdir test" in the git bash ...
0
votes
1answer
73 views

How can i exclude hostnames for using the default-proxy in git?

Is there a way to exclude the default-configured http-proxy from beeing used when checking out from local(corporate-network) git repository? We have a git repository that is only accessible when not ...
48
votes
3answers
14k views

Git Bash Here in ConEmu

How do I create a right-click context menu entry to open Git Bash at a given folder within ConEmu? See Git Bash Here in Console2 for the equivalent question for Console2.
0
votes
0answers
26 views

How connect with Git repository over ssh behind evil proxy

My proxy (192.168.1.1:3128) not allow connection over ssh and I wish work with git repository like this: for clone: git clone ssh://user@server.com:2222/~/repository.git For cheat web forbidden, I ...
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: ...
4
votes
1answer
190 views

Tunneling ssh via a SOCKS5 Proxy on Windows

I'm using Windows 7 over my 'restricted' campus network. I use Heroku Toolbelt to work with heroku projects, which inturn uses git and ssh on port 22. However, port 22 is blocked in my campus. Can i ...
0
votes
1answer
61 views

Recover incomplete download in Android Open Source Project

I am trying to sync the following repo repo init -u git://github.com/CyanogenMod/android.git -b gingerbread and then repo sync my problem is that repo sync stuck at fetching projects 99 ...
6
votes
6answers
1k views

Emacs + git: auto commit every 5 minutes

How can I set up emacs to automatically git commit every time I save an open file or periodically?
0
votes
2answers
40 views

Why is Git failing to update?

This is actual copy/paste from my shell: machine:~ me$ brew install git ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/git-2.2.1.mountain_lion.bottle.tar.gz ...
15
votes
3answers
23k views

How can I push a Git repository to a folder over SSH?

I have a folder called my-project inside which I've done git init, git commit -a, etc. Now I want to push it to an empty folder at /mnt/foo/bar on a remote server. How can I do this? I did try, ...
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 ...
2
votes
2answers
2k views

Clone GitHub Repo Without Account?

I'm putting together some documentation and don't have access to a non-configured machine to just test this myself, but I'm curious if you need a github account to clone a repo from github to a local ...
0
votes
0answers
21 views

How to set up git user for group-writeable repositories and SSH access?

I am setting up a Git server on Ubuntu 14.04 LTS. I need the server to support both the SSH and HTTP protocols. So far I've followed the instructions in the Git Book to get my server to support the ...
6
votes
2answers
2k 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
0answers
10 views

Atlassian SourceTree: Copy Git Checksum To Clipboard

How can one copy the checksum of a Git commit to the clipboard using Atlassian SourceTree (OSX)? I know I have seen this feature in the Tortoise family of clients.
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
2answers
20 views

git pull conflicts when pulling a non current branch

I have a problem when manipulating git pull. Consider I have 2 branches on my remote (origin) repository : A and B. The remote B branch is ahead of the local B branch by 1 commit. This additional ...
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 ...
0
votes
0answers
21 views

Using Git as an svn client

I used to use git-svn as a simple, powerful svn client. I stopped awhile ago for a variety of reasons, and now I'm trying to get started again, and it doesn't seem to work anymore. (Note: I'm not ...
0
votes
1answer
38 views

Backup Git repository from Xcode server

I have a OSX server with the Xcode service activated. The server hosts multiple git repositories, git is installed automatically by the service Xcode server. I use Time Machine, but the problem is ...
-1
votes
1answer
62 views

GitHub Not Accessible for any browser

I can't access https://github.com/ website. I have try all browser. but, it is not run site. I get server not found error. Why is not run Only github site?
4
votes
1answer
74 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 ...
3
votes
1answer
86 views

update git after upgrade to Mavericks

I've recently upgraded from Mac 10.6.8 (Snow Leopard) to 10.9.4 (Mavericks). I had git 1.8.5.2 installed on the old system and want to update it now to the latest version. So I uninstalled git with ...
0
votes
1answer
12 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