Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 1.22 KB

labels.md

File metadata and controls

35 lines (30 loc) · 1.22 KB

Summary

The labels command creates a tag in git for each label found in tfs.

Note : Due to how TFS manage labels, this command fetch a lot of data and could be quite long :(

Synopsis

Usage: git-tfs labels [options] [tfsRemoteId]
 ex : git tfs labels
	  git tfs labels -i myRemoteBranche
	  git tfs labels --all
  -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     Fetch all the labels on all the TFS remotes (For
							   TFS 2010 and later)
  -n, --label-name=VALUE     Fetch all the labels respecting this name filter
  -e, --exclude-label-name=VALUE
							 Exclude all the labels respecting this regex
							   name filter
  -u, --username=VALUE       TFS username
  -p, --password=VALUE       TFS password
  -a, --authors=VALUE        Path to an Authors file to map TFS users to Git
							   users

Examples

tim@WIN7-VM2:/c/repo/MySolution(master) $ git tfs labels
Working with tfs remote: default
Looking for label on $/MySolution...
1 labels found!
Writing label 'Releasebuild1.2.3.4567(default)'...