Hi,
I am having a hard time understanding the nuances of git-fetch. I understand that doing a fetch, fetches the remote refs into a local tracking branch.
I have a few questions though:
Can it be possible that a local tracking branch does not exist? If so, then will it be created automatically?
What will happen if I do a fetch and sp...
In the section Pulling in upstream changes on help.github's Forking a project it states:
Some time has passed, the upstream repo has changed and you want to update your fork before you submit a new patch. There are two ways to do this:
$ git fetch upstream master
$ git merge upstream/master
Why are they including master in the f...
I have set up some remote tracking branches in git, but I never seem to be able to merge them into the local branch once I have updated them with 'git fetch'.
For example, suppose I have remote branch called 'an-other-branch'. I set that up locally as a tracking branch using
git branch --track an-other-branch origin/an-other-branch
S...
Whenever I run git fetch it fetches all the tags from origin. In a project with lots of tags, this can get quite bothersome. So I ran git config remote.origin.tagopt --no-tags so fetching will no-longer fetch tags.
However, there are some times when I do want to fetch tags, or a single tag. Does anyone know how to do this? (besides remo...
Possible Duplicate:
How to do a git export (like svn export)
I'm looking for a single command that effectively does the following:
git clone git://github.com/rails/rails.git --depth=1
rm -rf rails/.git
Is there a command that does this?
...
Here is my problem:
When I'm doing pull/fetch of some big repository i want to show progress somewhere else than in console (for example on website)
I know that in git 1.7.1.1 there is option --progress but I can't use this version and must stay with 1.6.0.4
does anybody have idea how to watch git fetch/pull progress (for example how t...
When using git fetch to fetch refs from one (very large) repository to another one on the local machine, git upload-pack takes a very long time to create pack files. In the local case there's not such a need to minimize the amount of data transported, and I don't care about disk space lost by losing delta compression, so ideally I'd pre...
I understand the idea of running git fetch <remote>, because the remote branches are then available with git checkout <remote>/<branch>.
But how does it work if I just run
git fetch path/to/other/repo
How can I checkout the corresponding branches? Note that the operation runs silently (even with --verbose), and that no new branch is ...
Is there a way to pull/fetch code from a specific tag in a repo.
Am aware that after clone, i can checkout to the tag but is it possible to specify a tag during a pull?
In ClearCase i can rebase or deliver a specific baseline of code, is there a way where i can use git tags similarly to pull/push code upto a specified tag?
...