Questions tagged [git]

Git is a distributed source control system.

Git is a source control system that allows for many people to work on the same project simultaneously. It is distributed, makes it possible for many different branches of the same project to co-exist at the same time, and offers many other advanced features.

Git was originally authored by Linus Torvalds, the creator of the Linux kernel, and the official Git homepage is at git-scm.com

For git quick guide, see gitready.com. More information, see wikipedia

1127 questions
0
votes
1 answer

Git push from post-receive

I have two servers, let's call them first and second. First one is where the real development is done, and second one should be the replica. What I would like to do is put "git push" in post-receive, but there is one problem. Post-receive is…
meka
0
votes
1 answer

How can I run Git submodules?

How can I run these submodules? The only thing i can find on the web is information on how to create submodules. But i just need to run them. Is this really so difficult? After you have clone the repository, you'll need to run the following to pull…
DADU
  • 103
  • 3
0
votes
1 answer

Git: can I store known repository in the repository?

I am setting up a Git repository. I know you can add repositories using git config --global, but is there a way that those known repositories gets cloned by users? For example, I add git://X/mobility.git as X to the repo (somehow), a user clone it…
0x6adb015
  • 101
  • 2
0
votes
2 answers

Git Daemon on linux?

Trying to set up a simple git-daemon on a linux server, and talk to it from a windows box. On linux server: Make a folder /home/foo/bar CD to /home/foo/bar do a git --bare init here Do a touch git-daemon-export-ok CD to /home/foo Run the command…
bwawok
  • 103
  • 1
  • 4
0
votes
1 answer

Add local branch to remote repository?

In git, I created a new local branch and made various changes that have been committed. I'd like to now add this branch to the remote repository (not local master branch or origin/master remote branch.) How would I go about doing this?
Matt Huggins
  • 547
  • 4
  • 14
0
votes
1 answer

Gitosis on Mac OS X (Snow Leopard)

I have a Snow Leopard box, where I have gitosis installed (Warning: noob alert), added a git user and I am able to remotely login to the machine with ssh. Locally, I can 'clone' my created repositories, as I can 'clone' the gitosis-admin too. Works…
Shyam
  • 264
  • 1
  • 6
0
votes
2 answers

Updating the $PATH for running an command through SSH with LDAP user account

I am setting up a Mac OSX 1.6 server to host Git repositories. As such we need to push commits to the server through SSH. The server has only an admin account and uses a user list from a LDAP server. Now, since it is accessing the server through a…
0
votes
1 answer

git is not getting installed on RHEL4

I did yum install git-core and then git and i am getting bash: git: command not found What did i miss in above steps?
dhaval
  • 137
  • 1
  • 7
0
votes
1 answer

git networking for small team

I'm trying to set up git for my programming team. My setup is: 1. example.com (Ubuntu server) IP: 192.168.1.2 (public: xxx.yyy.yyy.zzz) main git repository in /var/www/testgit user: mot (root) 2. host2, Ubuntu IP: 192.168.1.101 git clone of main…
takeshin
  • 1,471
  • 3
  • 21
  • 28
0
votes
2 answers

Permission problem with Git (over SSH) on FreeBSD

We're having permission problem with Git on FreeBSD. The setup is fairly straight forward. We have a few different repos on the same server. For simplicity, let's say they reside in /git/repo1 and /git/repo2. Each repo is owned by the user 'git' and…
vpetersson
  • 861
  • 1
  • 11
  • 22
0
votes
2 answers

gitosis always asks for git password

I've just followed the simple gitosis install instructions on an Ubuntu server, such as these http://blog.agdunn.net/?p=277 On the server I log in as "mark", and into /home/mark/.ssh/ I copied my keyfiles id_rsa and id_rsa.pub from my laptop. I used…
Cylindric
  • 1,127
  • 5
  • 24
  • 45
0
votes
3 answers

Can't clone gitosis-admin.git local from my snow leopard server running gitosis

I've installed gitosis as described here: http://gist.github.com/264304 One of the things that I had to adjust was to give my git user permissions to use ssh (which I did trough server admin -> access -> ssh and added the 'git' user). When I ssh…
user38316
0
votes
2 answers

Installing git in Fedora Core 8

I have a very annoying problem with fedora core 8. I am not able to install git it gives this error every time I do a yum install git-core Error: Missing Dependency: libcurl.so.3 is needed by package git There seems to be no way of resolving this…
GeekTantra
  • 237
  • 3
  • 15
0
votes
1 answer

Apache - Configuraion - Getting path inside relative Directory tag

i have gitweb configuration for apache: #/etc/apache2/conf.d/gitweb RewriteEngine on RewriteRule ^/\~([a-z]*\.[a-z]*)/gitweb/([a-zA-Z0-9_\-]+\.git)/?(\?.*)?$ /cgi-bin/gitweb.cgi/$1 [L,PT] Options Indexes…
Mailo Světel
  • 233
  • 4
  • 10
0
votes
0 answers

git: checking merge conflicts WITHOUT actually doing the merge

Can't find the answer to this precise question via googling. I do normal merge, say git merge origin/master. Say some conflicts are created. I do not want that. I would like to just check, see the possible conflicts, in terms of files, commits, and…
LetMeSOThat4U
  • 1,371
  • 2
  • 17
  • 35