Section: The Course | Managing Code and Collaborating Effectively | DiRAC Training

    • Teaching: 5 min
      Exercises: 0 min
      Questions
      • What is version control and why should I use it?
       
      Objectives
      • Understand the benefits of an automated version control system.
      • Understand the basics of how automated version control systems work.
    • page icon
      Setting up Git Page
      Teaching: 5 min
      Exercises: 0 min
      Questions
      • How do I get set up to use Git?
      • How do I set up my account on GitHub?
       
      Objectives
      • Configure git the first time it is used on a computer
      • Understand the meaning of the --global configuration flag
      • Add an SSH key to a GitHub account
      Not available unless: You belong to any group
    • page icon
      Using a repository Page
      Teaching: 10 min
      Exercises: 0 min
      Questions
      • How do I create a version control repository?
      • Where does Git store information?
       
      Objectives
      • Create a repository from a template.
      • Clone and use a Git repository.
      • Describe the purpose of the .git directory.
      Not available unless: You belong to any group
    • page icon
      Tracking changes Page
      Teaching: 20 min
      Exercises: 0 min
      Questions
      • How do I track the changes I make to files using Git?
       
      Objectives
      • Go through the modify-add-commit cycle for one or more files.
      • Describe where changes are stored at each stage in the modify-add-commit cycle.
      Not available unless: You belong to any group
    • page icon
      Exploring history Page
      Teaching: 10 min
      Exercises: 0 min
      Questions
      • How can I review my changes?
      • How can I recover old versions of files?
       
      Objectives
      • Identify and use Git revision numbers.
      • Compare files with previous versions of themselves.
      • Restore old versions of files.
      Not available unless: You belong to any group
    • page icon
      Remote repositories Page
      Teaching: 10 min
      Exercises: 0 min
      Questions
      • How do I work with a remote repository?
       
      Objectives
      • Add an SSH key to a GitHub account
      • Understand git push and git pull
      Not available unless: You belong to any group
    • page icon
      Branching Page
      Teaching: 10 min
      Exercises: 0 min
      Questions
      • What are branches?
       
      Objectives
      • Understand what a branch is
      • Understand when you would use a branch
      Not available unless: You belong to any group