Tagged Questions

Git is an open source distributed version control system originally designed and written by Linus Torvalds. It has been designed with some of the following goals: Speed. Multiple patches can be applied quickly even to large repositories. Distributed development. Git can support developers who ...

learn more… | top users | synonyms

1
vote
0answers
18 views

Github switch master repository

I've created a new account at github for a company, and I cloned my own repository to that account. However, I would like the repository in the company account to be the master (so my account can ...
1
vote
3answers
51 views

using puttygen generated public keys in unix environment?

(unix, here: ubuntu 10.4) I know how to create ssh key pairs in unix (ssh-keygen) and how to do it in windows (puttygen). the missing part in my case would be how to use a keypair, generated in ...
1
vote
1answer
19 views

Why is a branch not displayed in Msysgit?

I have a branch called "develop" in my repository (as confirmed by git branch -a). However, I do not see it in the history view of Msysgit. Is there something special about this branch that causes ...
0
votes
2answers
28 views

Saving Git remotes inside the Git repository itself?

I have a few projects under version control using Git. Since it is a distributed version control system, it is very easy to have it hosted at multiple places (GitHub, Bitbucket, Google Code, etc.) ...
1
vote
1answer
87 views

how to make automatic git mirror for hg repo

I've Vim plugin project on GoogleCode using Mercurial, but users wants to have it on github to ease use it as git subrepo (to keep their ~/.vim/ on github with all plugins inside). Personally I ...
2
votes
1answer
85 views

Is gitosis or gitolite necessary to push changes via HTTP/HTTPS to remote git repository?

I have an apache2 server running a virtual host with HTTPS and basic authentication enabled. The virtual host serves GIT repositories via gitweb script. Authenticated users pull repositories from ...
0
votes
0answers
49 views

How do I edit a previous git commit? [migrated]

I just realized that I left out a file that I was supposed to add to a commit like 5 commits back. In the commit message I said that the file was included, and I don't feel like doing a new commit ...
1
vote
0answers
34 views

No arrow/marker in solving merging conflict in GIT

I am currently having a merge conflict, normally I can just manually edit them. But now, my problem is the file is not showing any arrow/marker(>>>>, <<<<< and ====) in which I could be ...
1
vote
1answer
46 views

Git repository migrated from Mercurial shows unnamed branches

https://github.com/lextm/sharpsnmplib/network This repository network graph shows lots of branches (were created in Mercurial), but none of them has a name. Is there a way to add names?
2
votes
1answer
46 views

.gitignoring pdf file only when a tex source is present

I'd like to set up a global .gitignore file in my home suitable for working with TeX files. So typical TeX junk files such as *.log, *.aux, *.synctex.gz would go in it. The next step, however, is ...
0
votes
1answer
17 views

zsh completion for “git log”

When I type: git log p<tab> In Bash it expands it to git log production/master (if there's only one branch at existing production remote). How can I have zsh behave like that? EDIT: This ...
2
votes
2answers
95 views

Git permission denied (public key) error

I have connected many times to github and know about generating ssh keys and putting the id_rsa.pub into github settings. But for some reason with this install I can not get it to connect. I am just ...
0
votes
1answer
54 views

Is there a way to provide GIT password on the windows command line, and to accept the servers RSA key?

I'm running the GIT client "unattended": that is, it's on a build server, so there's no way of responding "yes" to prompts. I can't log in to the build server as the user that runs the build, and I ...
0
votes
1answer
32 views

Merging Database Modifications - CVS

I'm working on a project using git for version handling. What is the best approach to include the database in the cvs? For example, if I checkout the database and install it at home, make some ...
2
votes
2answers
43 views

Unable to “git stash pop” due to conflict

I have a local git repository and had several modified files. Then I needed to quickly produce a fix for something so I stashed my changes (git stash) edited file (vi file) committed (git commit) ...
3
votes
1answer
66 views

Is there way to list all existing repositories using git?

In order to clone a git repository one must have the name of the repository. When working with many repositories it can be hard to remember all the different names, so now I'm wondering if there is ...
0
votes
2answers
127 views

Connecting to github using PuTTY generated SSH key in Windows 7

On an otherwise pristine Windows 7 Enterprise install: Install PuTTY 0.62 Create public/private key pair with puttygen.exe Add public key for pasting into OpenSSH authorized_keys to github account ...
0
votes
1answer
39 views

run program packed in sh file

I downloaded jgit packed in sh file and ran it in mingw. I watched in process list that java process was started just with main class and parameters "c:\Program Files\Java\jdk1.6.0_26\bin\java.exe" ...
1
vote
1answer
22 views

Add svn-repo as branch to git

I have a git repo, but my boss wants to see the code in an SVN incl. commit-messages. Is there a way to add the SVN to git as a branch (like boss-branch), so that I can work with my own branches, ...
-1
votes
0answers
50 views

Git bash vs. Git Gui: Features in one and not the other

Are there features accessible in Git Bash that are not accessible in Git Gui? I was wondering, in general, Is there a feature that Git can do from the command line that doesn't usually make it to GUI ...
0
votes
0answers
16 views

run astyle on all files before git-commit

I use astyle to get my Java and C++ into a unified look. Sometimes I write something and check it into git before running astyle. So I will end up with a commit message like Run astyle which makes ...
3
votes
1answer
73 views

ssh'ing from a machine I've ssh'ed into

I'm trying to ssh into a machine (let's call it B) from a machine (let's call it A), and then run a command on that machine (B) that would usually require entering an ssh passphrase (if you're ...
0
votes
0answers
88 views

Resume git clone operation from github after reconnecting a disconnected Internet connection

I started cloning a project in Github. Middle in the cloning, my Internet connection was disconnected. I tried it 2 times but every-time it come 36% of it, Internet connection disconnecting. Is there ...
0
votes
1answer
70 views

Git installation: /usr/bin/ld: cannot find -lz

I'm trying to install git from source as a non-root user. After typing "make" the following error occurs: Link git-daemon /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status I already ...
0
votes
1answer
23 views

How to archive and versionize a filesystem for Windows and MacOSX?

The problem: On a MacOSX-Snow Leopard-Server is a directory structure holding project directories containing (mostly large binary) files. The clients accessing these files via common network file ...
0
votes
1answer
40 views

Git doesn't see the folder I'm trying to commit, though it's visible in NERDTree in MacVim

Trying to commit folder, but git just doesn't see one. At the same time in MacVim's NERDTree (I have Janus distribution installed) all files from that folder are appearing with the wildcard at the ...
0
votes
0answers
26 views

Add “create git repository here” using “Git GUI” context menu entries for Windows?

following on this question: "Git GUI" context menu entry for Windows 7 64 bit Is is possible to add (once git+ git gui is installed) to the context menu the ability to: "create git ...
2
votes
0answers
147 views

How to reuse/extend etckeeper's metadata engine for git control of non-/etc filesystems, or extend git natively with said capability?

Overview + question Want etckeeper-like filesystem metadata control for non-/etc, git-controlled directories. Home and web-app directories, among others, are classically sensitive to metadata (file ...
1
vote
1answer
45 views

How do i get the git pager to act normal?! Less leaves output on the screen when executed via git

The pager less doesn't clear the screen as it should do when i use git. I use less all the time and it usually doesn't leave output in the terminal after quit but when less gets executed via git it ...
4
votes
1answer
86 views

SSH config - same host but different keys and usernames

I've set up two GitHub accounts, but I can't get ssh keys to work correctly. I've tried various configs. Host github_username1 HostName github.com IdentityFile ~/.ssh/rsa_1 User ...
1
vote
2answers
67 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
48 views

Custom ssh rules for user

I am running a git server on archlinux. Now I want to give a certain user access to a repository. So I created a user and set its home folder to the repository directory. Now i can checkout the ...
1
vote
1answer
45 views

Is it possible to import history from a svn checkout to a new git repository?

I have a checkout from an svn repository, the host of which I no longer have access to. I would like to import this codebase into a new git repository, but I haven't been able to figure out how to ...
0
votes
1answer
117 views

Cloned GitHub repos ask for a password, while originally created don't

I've just lost a bunch of repositories from my disk, so I've cloned them from GitHub. These are now asking for username and password each time I push something to GitHub. Those that haven't been ...
0
votes
0answers
72 views

Using git through cygwin on windows 8

I've got a windows 8 dev preview (not sure if it's relevant, but I never had this hassle on w7) machine and I'm trying to clone a git repo from github. The problem is that my ~/.ssh/id_rsa has 440 ...
0
votes
1answer
41 views

installing sha1sum on git-bash (mingw)

I've been using git-bash on Windows 7 a lot. I gather it is a wrapper of mingw. It has md5sum but not sha1sum. I'd like to install sha1sum but I can't figure out how. When I try mingw-get, it says ...
0
votes
0answers
105 views

Setting up Git / Apache on Windows

I'm following this tutorial to set up a personal Git server on Apache on my Windows 7 box. However, when I add the following to my httpd.conf, Apache throws an error when I try to start it. Can ...
2
votes
1answer
34 views

What is causing git byte order error?

I can no longer git svn rebase (using msysgit on Windows 7). The error starts with: Byte order is not compatible at ../../lib/Storable.pm And ends with: Could not unmemoize function ...
0
votes
1answer
30 views

Git multiple config files

As it is told in git-config manual, I have three files to specify git repo configuration: $GIT_DIR/config, ~/.gitconfig and $(prefix)/etc/gitconfig. Is it possible to make git read another config file ...
2
votes
1answer
59 views

Git keeps forgetting the current directory

I've got a git repository, call it myscripts/. Within myscripts/ are subdirectories perl/, python/, and ruby/. For some reason, when I edit code in one of the subdirectories, Git forgets that the ...
0
votes
0answers
23 views

integrating git-daemon in awstats

I've got a public git-daemon instance that people can use to clone my personal git repositories. Now I'd like to see how many people actually use it to clone repositories and fetch updates. Since the ...
1
vote
0answers
17 views

Git for windows xp crashes all the time

I am trying to clone a git repo on windwos xp. I am using GIT BASH. But everytime i try to clone it i get the error as below. I tried to restart my pc but this didn't help. Any suggestions?
3
votes
1answer
62 views

git log behaves like less

git log -{n}, when -n is sufficiently small, doesn't open in less it simply prints it to the screen. That's desirable. git log -1 should not take up the full screen. Unfortunately, in MINGW's ...
0
votes
1answer
218 views

“Could not resolve host: github.com” error while updating Homebrew after installing git

I'm using OS X Lion (10.7.2). I installed Homebrew on my Mac, and I executed the command below. $ brew install git and then: $ brew update error: Could not resolve host: github.com; nodename nor ...
0
votes
1answer
56 views

git client and rsa authentication

I've installed git client on windows 7 on administrator account. On first pull git asked me if i wanted to add host to trusted locations. After that '.ssh' folder was creted in user home. When i ...
0
votes
1answer
65 views

Is there a way I can manage git on a remote computer using a GUI?

I am trying to find a way to manage a git repo on a server that is on a VPS. I have SSH which is all well and good, but I am looking for some way to use a GUI over a remote connection. Is it possible? ...
0
votes
0answers
17 views

git helper script not being recognized

In git-bash (on Windows 7) I've installed a git helper script in ~/bin/git-script but when I run it I receive the following: $ git script git: 'script' is not a git command. See 'git --help'. Did ...
1
vote
1answer
70 views

fatal: Out of memory? mmap failed: Invalid argument

Upon doing git add . I get the following message - fatal: Out of memory? mmap failed: Invalid argument I am using git on cygwin on Windows 7 What does this mean?
0
votes
3answers
72 views

no gitignore file in new rails app

I created a new Rails app using version 3.0.1 (in order to follow along with a tutorial using 3.0.1), but it didn't create a gitignore file. If I create my own, what ending should I put on the file? ...
0
votes
0answers
22 views

Is there a specific git hook for notes creation?

Basically, I have post-receive hooks on a central repo which I use to push automatically to github when it receive a set of snapshots. I also have a bot creating notes on that central repository to ...

1 2 3 4 5 9