Tagged Questions

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
2answers
385 views

How do I link a project in Eclipse with the Git repository I imported from?

I've googled all day and there's so many Git questions, it's hard to find anything about my actual question, which is this. I have a local Git repository set up. I can pull a previously committed ...
0
votes
0answers
40 views

How to automatic add file names in git commit message?

When I am writing a commit, I usually have the format: filename: add something I want commit to automatically add filename into the commit message, is that possible? I know about commit templates, ...
1
vote
1answer
122 views

Gitlab commits have the wrong ID

Developers committing on our internal network, from the company computers (we're using iMacs) have their commits display as developerX@macY.local, where I'd expect them to display as ...
0
votes
1answer
21 views

How to drop objects from git repo?

I have a git repo for backup, I used to let it backup many useless but large files, which is a stupid mistake. I untracked those files long time ago. When I recently git clone the repo, it's really ...
2
votes
1answer
62 views

How to git clone specific linux kernel build

I know I can git clone the linux kernel using the following: git clone \ git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git \ linux-2.6 But I'm wondering how to clone a specific ...
0
votes
1answer
319 views

git clone fails with “bad object” under msys2 in a VM

When I try to git clone a github project under my Windows 7 - MSYS2 VirtualBox VM, it fails: laurent@Win7 ~/Dev $ LANG="en" GIT_TRACE="1" git clone git://github.com/nanomsg/nanomsg.git trace: ...
1
vote
1answer
49 views

Can document root of the server be on client machine

Here is my problem. In our company we have a setup like this. There is a server with apache, php and all. All the client (dev) machine has their one drive (M:) mapped to the home folder on the server ...
0
votes
1answer
93 views

Tomcat and git on ubuntu

I have a tomcat server on ubuntu and I have a directory where i store all my git repositories, how do I enable my server to accept git push via https. I use realms to allow access to the directory. ...
0
votes
1answer
31 views

Disable automatic capitalisation of git checkout BRANCH_NAME in ZSH/oh-my-zsh

I'm using zsh 5.0.2 with oh-my-zsh plugin and whenever I do tab completion on git checkout f it comes out as: git checkout Feature\ For some reason it's automatically searching uppercase branch ...
0
votes
2answers
337 views

Installing Git on Linux Mint Debian

Background I recently moved to Linux Mint. I installed the LMDE201403 and pretty much have my environment setup. However, I need to install Git for my version control. I have searched the internet ...
0
votes
1answer
43 views

How to track external code in git

I'm working on a project where some code is original to the project, some code is modified from external sources (some of which use VCS like p4), and some code is mirrored from external sources. How ...
0
votes
1answer
139 views

Using git with certificate in PHPStorm

When using PHPStorm, I want to integrate git in my project, but I can't seem to find the option where you specify the private putty key for the current project.. Any ideas?
1
vote
2answers
3k views

How to git clone private repos within Vagrant VM, using host's SSH keys?

I'm able to use PuppetLabs vcsrepo to clone public git repos, but I'd like to also be able to clone private repos, using the host's SSH keys. What would the configuration look like for Vagrantfile ...
0
votes
0answers
125 views

What is the meaning of this git warning message in octopress deployment process

When I run rake deploy, I notice a git pull warning message $ rake deploy ## Deploying branch to Github Pages ## Pulling any updates from Github Pages cd _deploy There is no tracking information ...
0
votes
0answers
11 views

TortoiseGit Resizing “Log Messages” columns

When viewing log messages in TortoiseGit is there anyway to resize the columns for the individual changed files. They don't seem to be dragable, only use half the window width, and as such doesn't ...
0
votes
0answers
67 views

Right click when git is installed

When I install git on a fresh copy of Windows 8.1 embedded, right clicking on folders takes 3-4 seconds. If I remove git, right clicking takes the normal amount of time again. How can I reduce the ...
0
votes
0answers
25 views

Push commits to own repository in submodule

I have a big repository on a private where I work in and commit my changes. Now I depend on other repositories like v8, node and other ones. I tried to add them as submodule, but then I cannot change ...
0
votes
1answer
179 views

Can't uninstall or upgrade git

I'm on Opensuse ver 12.2. My git seems to be installed in /usr/lib. rnx@linux-sh2d2:~> git --version git version 1.7.10.4 rnx@linux-sh2d2:~> which git /usr/bin/git rnx@linux-sh2d2:~> cd ...
25
votes
5answers
12k views

Can not clone any git repository from github

Since the update to OS X 10.9.2 I am not able to clone any git repository from github.com If I run the git clone command I get the following error: git clone ...
0
votes
2answers
65 views

How come git clean -Xi doesn't delete folders, only files?

My .gitignore has something like /folder /.otherFolder .file .otherFile And when I do git clean -Xi it shows that it will only delete .file and .otherFile, but not folder or otherFolder. Why is ...
2
votes
1answer
37 views

Get git-repository commit into different git-repository branch

Consider the following setup: One Repository1 sits on Bitbucket. A local working copy is situated on my machine. I change files locally, commit and push to Repository1. Changes in Repository1 (on ...
0
votes
0answers
35 views

How to create a selinux context that merges two existing contexts?

I want to have a git repository available to both: the smart http transport and thus writable by apache - this is handled by the httpd_sys_rw_content_t context. the gitweb interface - this is ...
0
votes
1answer
121 views

Vim Gitgutter to the right of the line numbers

I am using vim-gitgutter in conjunction with vim's native line numbers. The problem is, I gitgutter is showing up on the left of the line numbers and I would prefer it go on the right. Is there some ...
0
votes
1answer
105 views

authentication for git remote push to github

Github says they prefer https over ssh. Does this mean I should do something like this on my local machine: git romote add github 'https://userid:passwd@github.com/userid/repo.git' If so is sending ...
1
vote
1answer
1k views

centos 5 + nginx + git-http-backend

I've a CentOS 5 server at domain.fr. I'm trying to set a subdomain so that I can use it with git, "git.domain.fr". My repositories are in /home/git (example /home/git/repos.git). I've installed ...
0
votes
0answers
57 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 ...
0
votes
0answers
19 views

Colorize only the changes and not the complete line in diff

I have to very similar files which usually only differ in the capitalization. Currently I'm using the default diff but seeing the actual difference can be hard. For example I compare files only ...
0
votes
0answers
30 views

only allow if “logged in user” == “directory name” in apache2

I have many git repositories that are served by http. Most of them are named after user names (e.g.: j.doe). Some generic repositories also exist (but contain no dots). Currently all allowed users can ...
0
votes
3answers
712 views

How to clone a git project from the website to your desktop?

When I try to clone a git repository to my Desktop it always takes me to the download page but it is already downloaded. How can I clone it directly from the browser to PC ?
3
votes
1answer
1k views

GIT Overwrite branch with master

I have an old dev branch that is completely outdated. I don't want to remove it but I do want to replace its contents entirely with the master branch. Meaning, I want dev_branch = master I tried: ...
0
votes
2answers
58 views

Using same ssh key for Parallels

I have a Mac and am running Parallels that has Windows 7 on it. I have an ssh key that I use to connect to github. When I go to my Parallels/Windows 7 and try to do ssh -T git@github.com I get ...
0
votes
0answers
298 views

Cannot remove .COMMIT_EDITMSG.swp in .git folder

I have tried "rm .git/.COMMIT_EDITMSG.swp", however it is throwing the error: cannot unlink : permission denied What gives? I am using BASH on windows. Any help would be greatly appreciated.
0
votes
1answer
59 views

Connect Dreamweawer CS6 to Bitbucket repository

I have a Git repository on Bitbucket and I would like to configure version control in Dreamweaver CS6. How do I do it?
4
votes
2answers
4k views

Can I use git to version control psd files and maya projects?

I've had great success with git, version controlling, sharing and collaborating on my programming projects, and would love to do the same with photoshop .psds, illustrator .ais and maya projects. ...
2
votes
0answers
163 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 ...
1
vote
0answers
286 views

Download zip/tar Github repository with .git metadata?

I need to download zip/tar Git repositories from Github and get not just the source but also the .git directory. I'm aware I could use git clone, but this is for an tool that runs on systems that may ...
0
votes
1answer
110 views

git: list all repos on a remote server?

My git client is set up. Have ssh set up, ssh public is on the git server. I know there are some repos in that server... how do I list them? For reference: server: 192.168.1.230 using SSH my user ...
0
votes
1answer
27 views

Assume unchanged for new items

So, git update-index --assume-unchaged allows me to mark something as unchanged, which is great (especially if I'm adding log lines which shouldn't be committed). Unfortunately, I have some files ...
1
vote
0answers
17 views

OS X 10.6: Cant unbundle VMWare software with git: does not look like a v2 bundle file [duplicate]

So I am using Mac OS X 10.6.8, I'm trying to download VMWare Player, there was no OS X specific bundle, only linux. I tried to unbundle the 32 bit linux with: jdd:VMWare Me$ git clone ...
0
votes
0answers
195 views

Google drive containing git repos?

I'm thinking of using a poor man's solution to backup my git repos (they are not huge). I have a notebook, no server/vps/nas at home. These are my pet projects, so 1-2 mbyte each, not a big deal. Are ...
2
votes
1answer
118 views

Git github not working with google authenticator OSX

So I had git running on my computer just fine. My password was saved with the osxkeychain thingy and everything ran smoothly. Today I decided I should be safe and enable google authenticator 2-step ...
0
votes
2answers
1k views

How to Compile and Install Remmina From GIT Repository for Ubuntu (KDE)?

Gentlemen, I would like to compile a version of Remmina directly from the GIT repository, because I need to apply a patch to fix a problem. With the command sequence below I can compile it and ...
1
vote
2answers
837 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
0answers
46 views

Zsh prompt produces an error

I have the default prompt for oh-my-zsh, which is great when I have a git repo, but if there is no git repo its actually failing instead of putting nothing. I trapped an ascii image to err just for ...
0
votes
0answers
14 views

Can I configure git reset|checkout -p to let me edit the reverse patch?

Let's say I have the following file committed in my git repository: $ cat a.txt a b c I make some changes and add them to the index: $ git add a.txt && git diff --cached a.txt -a -b -c ...
0
votes
0answers
203 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 ...
3
votes
1answer
2k views

How can I diff binary files in git?

I assume I need to set up a difftool. What difftools work? How do you put the parameters in?
4
votes
3answers
981 views

Jenkins notification-poll-build fail with “No git consumers for URI ssh://path”

Whenever my Jenkins gets notified about a new git commit to my repository foo, I get the following log/error response on the triggering client: Scheduled polling of foo No git consumers for URI ...
0
votes
3answers
343 views

Perfect distro for small office web server + version control server [closed]

I'm willing to put one of my old "pentium" machine as a local web server at my small office. And willing to install a version control server SVN or GIT (I'm new to version controlling) on it. I'm ...
0
votes
3answers
1k views

I see “Uncommitted changes” but the files are identical?

I recently bought a new PC and downloaded the GitHub for Windows version: 1.2.6.4 f054d9f, then: Logged-in cloned my repo to Local made sure files were downloaded locally closed GitHub overwrote 1 ...