Tag: repository

Sourceforge: “… does not appear to be a git repository”

I have started a project on Sourceforge, mainly for trying out how it works. Here is a link to the project: https://sourceforge.net/projects/tachikomawall/ But pushing the source code to the project doesn’t work for me. I’m trying to use GIT for the purpose. Here is the error it returns: [18:09] matachi ~/Projects/htdocs/Tachikoma-Wall $ git push origin […]

Gerrit unable to clone

I am trying to create a gerrit review system and was able to successfully get the gerrit to run on port 8084 and review is being on 29429 port successfully. When I am trying to run the git clone ssh://user@ip:29429/myrepo.git I am getting the following error: Cloning into ‘myrepo’… The server’s host key is not […]

Node.JS: Working with multiple Git repositories

We have a node.js project with a few modules which spans across multiple Git repositories. The modules have dependencies between them. For example: common module resides in its own repository. execution module resides in a separate repository, and has a (npm) dependency on common. So, the directory structure in execution includes (once npm install is […]

Mercurial copy patch to repository

I’m using Mercurial repository and I have a patch in ‘git‘ format and I wanted to know how I can apply that patch to my current repository which is Local. Thanks

LibGit2Sharp CheckoutPaths()

I did a commit (49916…..) now i want to checkout one file of the commit into the working dir. The file is named NEW.txt. If i type Git checkout 49916 NEW.txt into Git Bash it creates the NEW.txt file with the content in my working dir. But my LibGit2Sharp command does not want to work. […]

Git how to rebuild lost central repository from cloned copies

We had a central Git repository on a separate server. All the team members have cloned it to their local machines and did pull/push to that central repository. Unfortunately, the machine with the central repo has crashed and is not recoverable. Now, how can we rebuild a central repo again using the cloned copies from […]

How to install GitWeb on Windows?

I’m trying to use GitWeb to explore my repositories, I’m completely new to it, so I’m having a little problems, I know that GitWeb is shipped with Git, I downloaded it from here http://code.google.com/p/msysgit/downloads/list?q=full+installer+official+git, it is located on \share\gitweb, then I opened the console (Git Bash), browsed to the repository and ran the command git […]

Converting a subversion repository to git, why am I seeing “fatal: not a valid object name”?

I am seeing the following output while converting a subversion repo to git. > Found possible branch point: <repo-url>/trunk => <repo-url>/branches/CMT_PHASE3, 18441 > fatal: Not a valid object name refs/remotes/BlueSimViewer 5.0 20110316 Branch > cat-file commit refs/remotes/BlueSimViewer 5.0 20110316 Branch: command returned error: 128 The command I am running to convert the repo is > […]

Having two different GIT repo's in one directory for the same project

I wanted to know if it is possible to have 2 different GIT repositories in one root folder for the same project, and if I can add/commit/push to both of them without anything getting messed up. Example of what I want to achieve: I have a Django project and I have it in 2 different […]

Change the root directory of a Git repository

I’ve got the following source structure: /dir1 file1 file2 file3 dir1 is unneeded as the repository itself can be like a folder, so I want my git repository to look like this: file1 file2 file3 What should I do to achieve this?

Git Baby is a git and github fan, let's start git clone.