Git TFVC Git Architecture Architecture

Git TFVC Git Architecture Architecture

Version Control Cheat Sheet for TFVC and Git TFVC Git Architecture Architecture Concepts Commands Concepts Links TF command • Branch is an isolated copy of item metadata and version control history. • Branch is a named pointer to a commit history in the repository. msysgit.github.io … Windows client downloads Team Foundation Version Control (TVFC) command line tool with a variety git-scm.com … documentation of commands. Used to isolate changes from each other. github.com … code host • Changeset is a logical container for changes of a single check-in. bit.ly/gitscc … Git source control provider VS2008-2012 everyday • Commit (noun) is equivalent (mostly) to Changeset, but can also be bit.ly/gitext … Git extensions • add adds new files and folders from a local file system location an action. • Check-in commits pending changes in workspace to server as a • get retrieves a copy of items from TFVC to the workspace changeset. • checkin commits pending changes in current workspace to TFVC Commands • checkout makes local file writable and changes status to “edit” • HEAD is a pointer to the branch your commits will be associated • delete removes files and folders from TFVC and disk git command • Label mutable grouping of specific version of a set of source files. • history displays the revision history for files and folders with. git command line tool with a variety of commands. branching • Shelveset is a set of pending changes are temporarily saved on the • Stash is a set of pending changes are temporarily saved in the everyday • branch creates a copy of items, preserving a relationship to the repository. server. original items • add adds the current content to existing paths • merge applies changes from one branch into another • clone create a working copy from existing repository • commit (verb) all the staged local changes • Workspace is a local copy of your team’s codebase. Create multiple • Tag is a named pointer to a commit in the repository. Useful for • fetch the latest changes from origin, not merging workspaces and switch among them to work on different branches or shelving marking a point-in-time in your repository. • pull the latest changes from origin and merge into working copies • shelve stores a set of pending changes in TFVC without a commit • push commits changes to origin copies of the codebase. • shelvesets used to view details of a shelveset or view shelvesets • rm removes files from the working tree and from the index belonging to a specific use • status shows uncommitted changes in the working directory • unshelve restores shelved changes from TFVC to current workspace Topic Branch & Pull Request Example • tag mark a version or milestone uncommon branching Feature Isolation Branching Example • changeset displays information about a changeset • branch [name] creates branch called name based on HEAD • destroy permanently deletes, version-controlled files from TFV. Admin • branch [–d name] deletes branch called name only! • checkout [id] switch to the id branch • lock locks or unlocks to prevent against checkin/checkout of items • diff shows changes to tracked files • rename changes the name or the path of items • merge two branches • rollback reverts the changes of one or more changesets • undelete restores items that were previously deleted • workspace creates, deletes, displays, or modifies properties and uncommon mappings associated with a workspace. • blame show who changed what and when • bisect find regressions • grep search working directory help • log show history of changes Type TF /? on the command line for a complete list of commands • show [id:file] show a specific file from a specific id and arguments. help TFSDeleteProject Type git -help on the command line for a complete list of Command line tool which deletes a team project from a TFS team project commands and arguments. collection. It is a non-recoverable operation! Visual Studio ALM Rangers Solutions – http://aka.ms/vsarsolutions 2015-03-13 v3.2.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    1 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us