math 676 finite element methods in scientifjc computing
play

MATH 676 Finite element methods in scientifjc computing Wolfgang - PowerPoint PPT Presentation

MATH 676 Finite element methods in scientifjc computing Wolfgang Bangerth, T exas A&M University http://www.dealii.org/ Wolfgang Bangerth Lecture 32.55: Learning to use modern tools, part 5a1: Version control systems (VCSs)


  1. MATH 676 – Finite element methods in scientifjc computing Wolfgang Bangerth, T exas A&M University http://www.dealii.org/ Wolfgang Bangerth

  2. Lecture 32.55: Learning to use modern tools, part 5a1: Version control systems (VCSs) Subversion – undoing, branching, and merging http://www.dealii.org/ Wolfgang Bangerth

  3. Undoing changes Version control systems store the history of the project and each file: ● This allows to identify which change broke some functionality ● This allows to undo the offending change without throwing away everything that came afterward ...let's see how that works in practice... http://www.dealii.org/ Wolfgang Bangerth

  4. Branching and merging Using subversion (svn) as an example: ● A branch is simply a copy of the main development directory in the repository ● We can merge changes that have been made on mainline to the branch ● We can merge the branch back to mainline http://www.dealii.org/ Wolfgang Bangerth

  5. Mainline, branches and merges Mainline, branches, HEAD and tags are often visualized as a growing tree: Note: In subversion, revisions are sequentially numbered across branches. http://www.dealii.org/ Wolfgang Bangerth

  6. Branching and merging Implementation of branches in the specific case of subversion (svn): ● Each repository represents a file system with subdirectories ● “Mainline” is just one particular directory in the repository that everyone agrees is the main development branch (by convention this directory is usually called trunk/ ) ● Creating a branch means copying one directory elsewhere ● svn remembers the origin of each copy ● This allows merging data back (barring conflicts) http://www.dealii.org/ Wolfgang Bangerth

  7. Branching and merging Using subversion (svn) as an example: ● A branch is simply a copy of the main development directory in the repository ● We can merge changes that have been made on mainline to the branch ● We can merge the branch back to mainline ...let's see how that works in practice... http://www.dealii.org/ Wolfgang Bangerth

  8. MATH 676 – Finite element methods in scientifjc computing Wolfgang Bangerth, T exas A&M University http://www.dealii.org/ Wolfgang Bangerth

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend