On Tue, 3 Feb 2009, David Berry wrote:
> How do I
>
> - list the files that would be modified at JAC if I were to do a "git
> push". I've tried "git-push --dry-run" but that doesn't list the
> files.
How about a local diff between origin/master and master? Assuming
everything is pulled up-to-date:
git diff --name-only master origin/master
> - restrict the effects of a "git pull" to the current directory,
> rather than updating my whole repository.
Not possible, this is an area that requires some brain re-wiring.
The repository is a whole entity, not made up of sub-trees like a
subversion checkout, so you can only act on the whole thing.
(This is the reason that handling the thirdparty tree is being so
painful).
Peter.
|