forked from git-tfs/git-tfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Pull
sc68cal edited this page Dec 18, 2012
·
3 revisions
The pull
command fetches TFS changesets (like the fetch
command) and merges the current branch with the commits fetched (creation of a merge commit).
Usage: git-tfs pull [options]
-h, -H, --help
-V, --version
-d, --debug Show debug output about everything git-tfs does
-i, --tfs-remote, --remote, --id=VALUE
The remote ID of the TFS to interact with
default: default
--all, --fetch-all
--parents
--authors=VALUE Path to an Authors file to map TFS users to Git
users
--ignore-regex=VALUE a regex of files to ignore
--no-metadata leave out the 'git-tfs-id:' tag in commit
messages
Use this when you're exporting from TFS and
don't need to put data back into TFS.
-u, --username=VALUE TFS username
-p, --password=VALUE TFS password
To pull all the changeset of the default
branch:
git tfs pull
To pull all the changeset of the tfs/myBranch
branch:
git tfs pull -i myBranch
For the use of parameters --username
and --password
, see the clone command.
For the use of parameter --authors
, see the clone command.