|
I have created a bare git repo (lets call it repo #1) and cloned it. In the clone (repo #2) I have created several folders, one of which I have decided to make a git repo (repo #3). When I commit to repo #2, everything runs as expected exept that repo...
Started by Pheter on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Metadata....
GitSubmoduleTutorial
see git submodule
i’ve never used it, so all i can do is post a link …
I'm not a GIT pro by any means, but i think you are referring to git submodules
git submodule --help
You shouldn't do that.
|
|
I have a project in SVN which has a plugins folder. Several of the plugins folders are git repositories -- I added them to my plugins folder using git clone .
This has been working well for me but now I'm looking to migrate my SVN repository to git using...
Started by Olly on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Parallel use of git, and the missing .git directories....
You could dump the current svn repo, filter out the .git directories, and create another svn repo based on this filtered dump, and use this new one as a basis for the git repo.
|
|
We are using git on a lan of computers and we have a central repository on one machine, every developer has to clone the repository and work on his one machine. but how to merge all this repositories together in the central repository ?
Started by Ayoub on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
$ git commit -m 'committing my changes' $ git push origin master
Since git push does not....
$ git add .
Git is smart enough to merge them, most of the time.
Simply have each developer push to the main repository.
|
Ask your Facebook Friends
|
Hi, I was wondering is there a way to prevent ' git push --force ' on a repository (only on master branch)?
Assume I have remote git repository and do:
' git push ' to 'master'. It works. ' git push --force ' to 'branch-1'. It works. ' git push --force...
Started by Czlowiekwidmo on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
This configuration variable is set when initializing a shared repository pre-branch control then you will have to use....
May be through this configuration:
receive.denyNonFastForwards
If set to true, git-receive-pack if that push is forced .
|
|
Hello!
I'm researching the idea of building a super-small (preferably PHP) web app, which will serve (among other things) as a minimal front-end to a git repository.
Any library/article for reading a git repository (".git" folder) without having to execute...
Started by ANaimi on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Would this (git API documents) be of any help?
Here's a list of resources about extending php (i.e., too:
git-php git library? Pure-Python Git Library Git library? libgit2 - a true git library ActionScript3 ....
|
|
I'm working with a git repository using git-svn. Everything went fine until the day the maintainers of the svn repository decided to move the repository to a different URL.
How can I tell my git-svn client to fetch from the new svn repository?
I've changes...
Started by Fabian Jakobs on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
There may be trouble...since git-svn to rewrite your entire history to change all of the commit messages (using git filter-branch.
You might also need to change the .git/svn/.metadata file.
|
|
I backed up a git folder from Linux onto a FAT32 external drive, and copied it back later, and it said
fatal: Not a git repository (or any of the parent directories): .git
What may have gone wrong?
Started by Andrew Grimm on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
-type f -print0 | xargs -0 chmod a-x.
How to break your git repository suggests trying either
find .
|
|
I have a git media repository that I'm keeping all of my javascript and css master files and scripts that I'll use on various projects. My question is if I create a new project that's in it's own git repository, how do I use javascript files from my media...
Started by Brent on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The....
Cd /path stored in one single git repository, which is used by many projects If you modify a media file in anyGood question.
Scm/git/docs/git-submodule.html
Say you have repository PROJECT1, PROJECT2, and MEDIA...
|
|
Is there a way to "git svn dcommit" from a cloned git-svn repository :
I have several branches in my svn, sometimes it is very small branch and it is nice to have it in the same directory, but sometimes these branches grow big and it is nice to move the...
Started by Emmanuel Caradec on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You in the .git....
repository/webkit
The exact parameters passed to git svn init depend on the setup of your Subversion repoUnfortunately not, as git-clone does not clone the git-svn information when performing a clone.
|
|
I've done something like following:
(1) clone a remote git repository to local host
local# git clone http://www.foo.com foo
(2) add another project on a ssh host(bar) as the second remote repository
local# git remote add bar ssh://bar/home/project
local...
Started by yoda on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This blog goes over how to do it:
Toolman Tim - Setting up a new remote git repository
assuming you still have bar setup as a remote repository....
You can setup the remote host as a new git repository and then push to it.
|