I have a central repository with a subset of files that I want to protect from been changed (by pushing) from another users. If I add this files to .gitignore they would not be cloned.
Is it possible to give the ability to clone all files, but after cloning add some of them to .gitignore on the client side?
...
Possible Duplicate:
How and/or why is merging in Git better than in SVN?
I often hear that branching/merging in SVN is more painful than with Git, can anyone give a concrete but simple example?
...
I have recently been writing git hooks for my project team. I would like to know if developers are making various commits locally, without following the standard commit message pattern. then they push those commits. Will there push fail because there commits weren't following the pattern?
The desired result would be they are able to com...
Hello everybody,
I'm seeking advice for a problem that I thought to be simple, and it might be simple indeed by creating a small script, but I think there should already be a way to do that with git/quilt/stgit.
I'm not exactly good at git and this is causing some issues to me.
My problem:
I've got a git tree (linux kernel) and a numbe...
When using the hudson git plugin with https, how to I specify a password?
...
Environment:
WinXP SP3
Git: 1.7.0.2.msysgit.0
Hudson 1.367
Git server on local network with Gitosis and GitWeb
We are preparing to migrate from SVN to Git and have lots of working builds using SVN. Initial attempt at a Hudson Git build used the Git plugin. I start the build and it would get to the git clone phase. Exactly 60k of ...
I have 2 branches that I can compare/diff using my difftool (Beyond Compare).
However, the files used for the diff are temporary copies and not the actual files from the current branch.
This means that if I want to make a change to an existing file, I cannot do it via the difftool. I would need to make a copy of the files of one branch, ...
I installed gitosis and redmine and am running it through apache/passenger on CentOS. The problem is I cannot access the repositories through redmine. The error being "The entry or revision was not found in the repository.
My repository is stored at
/home/zenna/repositories/myproject.git
The error (found in the apache logs) is "fata...
Extracting a blob (file) from an arbitrary revision is easy with git show, e.g.:
git show master:src/hello-world.c > /tmp/hello.c
However, I'd like to know if is there a similar way in git to extract a tree (directory) and everything under it recursively?
I've written a small script that does this, so I'll add that as a possible ans...
I've done this before by creating a clone and doing the rebase in the clone, but I suspect I could do it safely on a separate branch.
I have a feature branch feat-x with about 25 commits on it. I'd like to (safely) squash several of these together.
(I say "safely" because the first couple of times I squashed I didn't get it right -- bu...
>>git difftool branch1 branch2 opens my difftool (Beyond Compare:BC) with every file that has a diff between the branches.
I have to close BC after each file just for it to reopen with the next file.
BC can diff whole directories and multiple files.
Is there a way to get git difftool to open all files simultaneously, or diff the whole...
A colleague of mine has a remote git repo that I wanted to clone and he provided a url of [email protected]:443/repo.git. ssh is listing on port 443 in this case.
I tried to clone by doing git clone [email protected]:443/repo.git but the operation times out. I had thought git defaults to ssh as its protocol and I'm not sure why th...
Hi All,
I have the following requirement
I have a framework repository which has two branch say 4.0 and 5.0 branch.
I have a application repository which has two branch say 3.x and 4.x branch.
I want the applcation to refer to a non modifiable framework code by version
Eg. Application branch 3.x have within it framework code freezed f...
I'm using Git to push my code from my development machine to my testing server.
Dev: Mac, Python 2.6, sqllite and
Test: Linux, Python 2.7, MySQL
I took an early dev database and exported it to MySQL for initial testing.
So now I'm regularly pushing new code to the testing server. In general it seems to be working well, but I'm ge...
I'm working on a Git repo that's been pulled from an SVN repo using git svn. Many moons ago, the SVN repo was created from a source tarball of the original (upstream) project. The original project had a file structure like the following:
/
COPYING
README
src/
...many source files...
However, when the SVN repo was created, ...
I have a text file (.yml) that I enter some texts to my system use. But now we need to know what new lines at once. I thought to use git to solve our problem, but I cant find a clarified command to do this.
Is this possible?
...
I need a help in collecting some metrics like how much time a GIT command or a script took to run.
Am aware that appending time before the command would give the time taken to complete the GIT command,
But is there a better way or a tool for monitoring or collecting the metrics so that the tool calculates the time for each GIT comman...
Hello
I am using git on Ubuntu 10.4.
I have made some commits to my master.
However, I want to get the difference between these commits. All of them are on my master branch.
For example:
commit dj374
made changes
commit y4746
made changes
commit k73ud
made changes
So I want to get the difference between k73ud and dj374. However...
I tried using the answer involing git-filterbranch from this question http://stackoverflow.com/questions/277029/combining-multiple-git-repositories but running in trouble because this answer doesn't seems to work when repository name having a space in its name.
For example, this wouldn't work if the repository would be called "my figure...
Say I do
git add foo.txt
Now, foo's changes are in the index (I'm assuming git was already tracking that file). Now, when I do git diff, I can't see the changes in foo by doing
git diff
Are there some extra things that git diff wants before it shows me those changes?
...