Win a copy of Python Continuous Integration and Delivery this week in the Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

create branch on TFS  RSS feed

 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anybody with experience using TFS (Team Foundation Server) version control ?  My situation is --- I have codes in TFS repository but I have never created branches yet.    If I create a "master" branch, questions:

Does the repository keep two version of codes, one for the original code and one for the master ? i.e. whatever I change on master won't affect the "original" one ?  i.e. does TFS always keep an implicit default branch that matches to the initial stage when no branch is created ?

 
Saloon Keeper
Posts: 9827
199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does your TFS team project use Git or TFVC?
 
Linwood Hayes
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Stephan van Hulst wrote:Does your TFS team project use Git or TFVC?



TFVC.  suppose my project structure looks like

MyTeamProject
   --WebProject
   --JavaProject

How to create a branch "NewBranch" that includes WebProject and JavaProject ?


MyTeamProject
   --Project_1
   --Project_2

    +NewBranch
        --Project_1
        --Project_2
 
Stephan van Hulst
Saloon Keeper
Posts: 9827
199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Honestly, I don't really know a lot about TFVC, and what I've read about it thus far seems quite confusing to me because I'm used to Git.

Have you gone through the MSDN documentation on creating branches? Do you have a sandbox server somewhere where you can play around with it to learn how everything works?

Here are some links that I found, I'm not sure if they're helpful for you:

https://docs.microsoft.com/en-us/vsts/tfvc/branch-folders-files?view=vsts
https://docs.microsoft.com/en-us/vsts/tfvc/use-branches-isolate-risk-team-foundation-version-control?view=vsts
https://docs.microsoft.com/en-us/vsts/tfvc/branching-strategies-with-tfvc?view=vsts
 
The first person to drink cow's milk. That started off as a dare from this tiny ad:
Become a Java guru with IntelliJ IDEA
https://www.jetbrains.com/idea/
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!