PageRenderTime 172ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/help/usingversionctrl.htm

http://tfs-shell.googlecode.com/
HTML | 541 lines | 473 code | 67 blank | 1 comment | 0 complexity | 14e711c97dea3dc2625bc4a32e10d04f MD5 | raw file
  1. <html DIR="LTR" xmlns:MSHelp="http://msdn.microsoft.com/mshelp" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:tool="http://www.microsoft.com/tooltip"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=Windows-1252"></META><META NAME="save" CONTENT="history"></META><title>Using Version Control</title><STYLE TYPE="text/css">
  2. body
  3. {
  4. background: #FFFFFF;
  5. color: #000000;
  6. font-family: Verdana;
  7. font-size: medium;
  8. font-style: normal;
  9. font-weight: normal;
  10. margin-top: 0;
  11. margin-bottom: 0;
  12. margin-left: 0;
  13. margin-right: 0;
  14. width: 100%;
  15. }
  16. a
  17. {
  18. color: #0000FF;
  19. }
  20. a:visited
  21. {
  22. color: #0000FF;
  23. }
  24. a:link
  25. {
  26. color: #0000FF;
  27. }
  28. a:hover
  29. {
  30. color: #FF0000;
  31. cursor: hand;
  32. }
  33. a:active
  34. {
  35. color: #FF0000;
  36. cursor: hand;
  37. }
  38. div#mainSection
  39. {
  40. font-size: 70%;
  41. width: 100%;
  42. }
  43. div#mainBody
  44. {
  45. font-size: 90%;
  46. margin-left: 5;
  47. margin-top: 10;
  48. padding-bottom: 20;
  49. }
  50. div#header
  51. {
  52. background-color: #D4DFFF;
  53. padding-top: 0;
  54. padding-bottom: 0;
  55. padding-left: 0;
  56. padding-right: 0;
  57. width: 100%;
  58. }
  59. div#header table
  60. {
  61. border-bottom-color: #C8CDDE;
  62. border-bottom-style: solid;
  63. border-bottom-width: 1;
  64. width: 100%;
  65. }
  66. span#runningHeaderText
  67. {
  68. color: #003399;
  69. font-size: 90%;
  70. }
  71. span#nsrTitle
  72. {
  73. color: #003399;
  74. font-size: 125%;
  75. font-weight: 600;
  76. }
  77. div#header table td
  78. {
  79. color: #0000FF;
  80. font-size: 70%;
  81. margin-top: 0;
  82. margin-bottom: 0;
  83. padding-right: 20;
  84. }
  85. div#header table tr#headerTableRow3 td
  86. {
  87. padding-bottom: 2;
  88. padding-top: 5;
  89. }
  90. div#header table#bottomTable
  91. {
  92. border-top-color: #FFFFFF;
  93. border-top-style: solid;
  94. border-top-width: 1;
  95. text-align: left;
  96. }
  97. div#footer
  98. {
  99. font-size: 90%;
  100. margin-top: 0;
  101. margin-bottom: 0;
  102. margin-left: 0;
  103. margin-right: 0;
  104. padding-top: 2;
  105. padding-bottom: 2;
  106. padding-left: 2;
  107. padding-right: 2;
  108. width: 100%;
  109. }
  110. hr#footerHR
  111. {
  112. border-bottom-color: #EEEEFF;
  113. border-bottom-style: solid;
  114. border-bottom-width: 1;
  115. border-top-color: C8CDDE;
  116. border-top-style: solid;
  117. border-top-width: 1;
  118. height: 3;
  119. color: #D4DFFF;
  120. }
  121. div.section
  122. {
  123. padding-top: 2;
  124. padding-bottom: 2;
  125. padding-left: 16;
  126. padding-right: 15;
  127. width: 100%;
  128. }
  129. .heading
  130. {
  131. font-weight: bold;
  132. margin-top: 18;
  133. margin-bottom: 8;
  134. }
  135. h1.heading
  136. {
  137. color: #003399;
  138. font-size: 125%;
  139. }
  140. .subHeading
  141. {
  142. font-weight: bold;
  143. margin-bottom: 4;
  144. }
  145. h3.subHeading
  146. {
  147. color: #003399;
  148. font-size: 115%;
  149. font-weight: bold;
  150. }
  151. h4.subHeading
  152. {
  153. color: #003399;
  154. font-size: 105%;
  155. }
  156. h5.subHeading
  157. {
  158. color: #003399;
  159. font-size: 100%;
  160. }
  161. img.toggle
  162. {
  163. border: 0;
  164. margin-right: 5;
  165. }
  166. img.copyCodeImage
  167. {
  168. border: 0;
  169. margin-right: 3;
  170. }
  171. img.downloadCodeImage
  172. {
  173. border: 0;
  174. margin-right: 3;
  175. }
  176. img.viewCodeImage
  177. {
  178. border: 0;
  179. margin-right: 3;
  180. }
  181. img.note
  182. {
  183. border: 0;
  184. margin-right: 3;
  185. }
  186. img#languageFilterImage
  187. {
  188. border: 0;
  189. margin-left: 10;
  190. vertical-align: middle;
  191. }
  192. img#membersOptionsFilterImage
  193. {
  194. border: 0;
  195. margin-left: 10;
  196. vertical-align: middle;
  197. }
  198. img#toggleAllImage
  199. {
  200. margin-left: 4;
  201. vertical-align: middle;
  202. }
  203. div#mainSection table
  204. {
  205. border: 0;
  206. font-size: 100%;
  207. width: 100%;
  208. }
  209. div#mainSection table th
  210. {
  211. background: #EFEFF7;
  212. border-bottom-color: #C8CDDE;
  213. border-bottom-style: solid;
  214. border-bottom-width: 1;
  215. color: #000066;
  216. padding-left: 5;
  217. padding-right: 5;
  218. }
  219. div#mainSection table td
  220. {
  221. background: #F7F7FF;
  222. border-top-color: #FFFFFF;
  223. border-top-style: solid;
  224. border-top-width: 1;
  225. padding-left: 5;
  226. padding-right: 5;
  227. }
  228. div#mainSection table td.imageCell
  229. {
  230. white-space: nowrap;
  231. }
  232. div.code table
  233. {
  234. border: 0;
  235. font-size: 95%;
  236. margin-bottom: 5;
  237. width: 100%
  238. }
  239. div.code table th
  240. {
  241. background: #EFEFF7;
  242. border-bottom-color: #C8CDDE;
  243. border-bottom-style: solid;
  244. border-bottom-width: 1;
  245. color: #000066;
  246. font-weight: bold;
  247. padding-left: 5;
  248. padding-right: 5;
  249. }
  250. div.code table td
  251. {
  252. background: #F7F7FF;
  253. border-top-color: #FFFFFF;
  254. border-top-style: solid;
  255. border-top-width: 1;
  256. padding-left: 5;
  257. padding-right: 5;
  258. padding-top: 5;
  259. }
  260. div.alert table
  261. {
  262. border: 0;
  263. font-size: 100%;
  264. width: 100%;
  265. }
  266. div.alert table th
  267. {
  268. background: #EFEFF7;
  269. border-bottom-width: 0;
  270. color: #000066;
  271. padding-left: 5;
  272. padding-right: 5;
  273. }
  274. div.alert table td
  275. {
  276. background: #F7F7FF;
  277. border-top-color: #FFFFFF;
  278. border-top-style: solid;
  279. border-top-width: 1;
  280. padding-left: 5;
  281. padding-right: 5;
  282. }
  283. .copyCode
  284. {
  285. color: #0000ff;
  286. font-size: 90%;
  287. font-weight: normal;
  288. }
  289. .downloadCode
  290. {
  291. color: #0000ff;
  292. font-size: 90%;
  293. font-weight: normal;
  294. }
  295. .viewCode
  296. {
  297. color: #0000ff;
  298. font-size: 90%;
  299. font-weight: normal;
  300. }
  301. div.code pre
  302. {
  303. font-family: Monospace, Courier New, Courier;
  304. font-size: 105%;
  305. color: #000066;
  306. word-wrap: break-word;
  307. }
  308. code
  309. {
  310. font-family: Monospace, Courier New, Courier;
  311. font-size: 105%;
  312. color: #000066;
  313. }
  314. dl
  315. {
  316. margin-top: 0;
  317. padding-left: 1;
  318. }
  319. dt
  320. {
  321. font-style: italic;
  322. }
  323. dd
  324. {
  325. margin-bottom: 0;
  326. margin-left: 0;
  327. }
  328. ul
  329. {
  330. margin-left: 17;
  331. list-style-type: disc;
  332. }
  333. ul ul
  334. {
  335. margin-bottom: 4;
  336. margin-left: 17;
  337. margin-top: 3;
  338. list-style-type: disc;
  339. }
  340. ol
  341. {
  342. margin-left: 24;
  343. list-style-type: decimal;
  344. }
  345. ol ol
  346. {
  347. margin-bottom: 4;
  348. margin-left: 24;
  349. margin-top: 3;
  350. list-style-type: lower-alpha;
  351. }
  352. li
  353. {
  354. margin-bottom: 3;
  355. }
  356. p
  357. {
  358. margin-top: 0;
  359. margin-bottom: 15;
  360. }
  361. .tip
  362. {
  363. color: #0000FF;
  364. font-style: italic;
  365. cursor:hand;
  366. text-decoration:underline;
  367. }
  368. .languageFilter
  369. {
  370. color: #0000FF;
  371. cursor:hand;
  372. text-decoration:underline;
  373. padding-bottom:4;
  374. }
  375. .math
  376. {
  377. font-family: Times New Roman;
  378. font-size: 125%
  379. }
  380. .sourceCodeList
  381. {
  382. font-family: Verdana;
  383. font-size: 90%;
  384. }
  385. pre.viewCode
  386. {
  387. width: 100%;
  388. overflow: auto;
  389. }
  390. MSHelp\:link
  391. {
  392. text-decoration: underline;
  393. color: #0000ff;
  394. hoverColor: #3366ff;
  395. filterString: ;
  396. }
  397. </STYLE>
  398. </head>
  399. <body><input type="hidden" id="userDataCache" class="userDataStyle"></input><input type="hidden" id="hiddenScrollOffset"></input><img id="dropDownImage" style="display:none; height:0; width:0;" src="drpdown.gif"><img id="dropDownHoverImage" style="display:none; height:0; width:0;" src="drpdown_orange.gif"><img id="collapseImage" style="display:none; height:0; width:0;" src="collapse.gif"><img id="expandImage" style="display:none; height:0; width:0;" src="exp.gif"><img id="copyImage" style="display:none; height:0; width:0;" src="copycode.gif"><img id="copyHoverImage" style="display:none; height:0; width:0;" src="copycodeHighlight.gif"><div id="header"><table width="100%" id="topTable"><tr id="headerTableRow1"><td align="left"><span id="runningHeaderText"></span></td></tr><tr id="headerTableRow2"><td align="left"><span id="nsrTitle">Using Version Control</span></td></tr><tr id="headerTableRow3"></tr></table></div><div id="mainSection"><div id="mainBody"><div id="allHistory" class="saveHistory"></div>
  400. <p>You use version control in a team development environment to isolate changes, reduce conflicts, and improve the predictability of your development processes. Each developer can make and test code changes on local copies of files before those files are shared with the team. If problems occur, you can easily compare versions of files to isolate the cause of the change and can even roll back changes.</p>
  401. <h1 class="heading">Common Tasks</h1><div id="sectionSection0" class="section"><content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
  402. <h3 class="subHeading" xmlns=""></h3><table xmlns=""><tr>
  403. <th>
  404. Task
  405. </th>
  406. <th>
  407. Supporting Content
  408. </th>
  409. </tr><tr>
  410. <td>
  411. <p>
  412. <b>Understanding version control concepts:</b> When you work with files that are under version control, you work with workspaces for Visual Studio Team Foundation Server
  413. and with changesets. You can use Team Foundation Server
  414. workspaces to manage development of multiple versions of an application at the same time. Changesets are the groups of files and related information that you check in to version control.</p>
  415. </td>
  416. <td>
  417. <ul><li class="unordered">
  418. <a href="workspaces.htm" target="_blank">Working with Team Foundation Server Workspaces</a>
  419. <br /><br />
  420. </li><li class="unordered">
  421. <a href="changesets.htm" target="_blank">Working with Changesets</a>
  422. <br /><br />
  423. </li></ul>
  424. </td>
  425. </tr><tr>
  426. <td>
  427. <p>
  428. <b>Add files to version control:</b> To begin the development lifecycle for a new project, you must add that project to version control to share it with your team.</p>
  429. </td>
  430. <td>
  431. <ul><li class="unordered">
  432. <a href="putundervc.htm" target="_blank">Placing Files under Version Control</a>
  433. <br /><br />
  434. </li></ul>
  435. </td>
  436. </tr><tr>
  437. <td>
  438. <p>
  439. <b>Get local copies of files:</b> To begin work on a project, you must get a local copy of the files for that project. If you added the project to version control, you might already have those files. You might retrieve the latest version, or you might need to retrieve a previous version to fix a bug in a previous release of the application. To make changes, you must check out files from version control.</p>
  440. </td>
  441. <td>
  442. <ul><li class="unordered">
  443. <a href="getlocalcopy.htm" target="_blank">Getting a Local Copy of Files from the Version Control Server</a>
  444. <br /><br />
  445. </li></ul>
  446. </td>
  447. </tr><tr>
  448. <td>
  449. <p>
  450. <b>Submit changes:</b> After you make and test your code changes, you must submit them as one or more changesets into version control to make them available to your team. If necessary, you can revert pending changes or roll back changes that you have already submitted to the server.</p>
  451. </td>
  452. <td>
  453. <ul><li class="unordered">
  454. <a href="submitchanges.htm" target="_blank">Submitting and Undoing Pending Changes</a>
  455. <br /><br />
  456. </li></ul>
  457. </td>
  458. </tr><tr>
  459. <td>
  460. <p>
  461. <b>View changeset history:</b> For any file or folder that is under version control, you can get detailed information about what changes have been made.</p>
  462. </td>
  463. <td>
  464. <ul><li class="unordered">
  465. <a href="versionctrlhistory.htm" target="_blank">Viewing Historical Data for Files under Version Control</a>
  466. <br /><br />
  467. </li></ul>
  468. <p>
  469. </p>
  470. </td>
  471. </tr></table>
  472. </content></div><h1 class="heading"><span id="seeAlsoNoToggle">See Also</span></h1><div id="seeAlsoSection" class="section"><h4 class="subHeading">Concepts</h4><a href="index.htm" target="_blank">Team Foundation Server Plug-in for Eclipse User Guide</a><br /><br /></div><!--[if gte IE 5]>
  473. <tool:tip element="seeAlsoToolTip" avoidmouse="false"/><tool:tip element="languageFilterToolTip" avoidmouse="false"/>
  474. <![endif]--></div><div id="footer"><hr /><p /></div></div></body></html>