1 Intro to Git and SourceTree Contents What are they? ............................................................................................................................................. 2 What are they good for? ............................................................................................................................... 2 Setup ............................................................................................................................................................. 2 Sign up for an account .............................................................................................................................. 3 Install Source Tree..................................................................................................................................... 3 Set your name and email address............................................................................................................. 3 Clone the repository from the server ....................................................................................................... 4 The SourceTree User Interface ..................................................................................................................... 6 Getting the Latest Version of the Code ........................................................................................................ 7 Committing and Pushing Your Changes ........................................................................................................ 7 Adding New Files........................................................................................................................................... 9 Reverting Local Changes ............................................................................................................................... 9 Looking at the Commit History ..................................................................................................................... 9 The Typical Workflow ................................................................................................................................. 10 Practicing with the training repository ....................................................................................................... 10 The Git Server Web Interface ..................................................................................................................... 11 Annex: Git Glossary ..................................................................................................................................... 12
13
Embed
Intro to Git and SourceTree - Teleyah · Git is a source code control system aka version control system. It tracks changes to your programs and lets groups of people collaborate on
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
1
Intro to Git and SourceTree
Contents What are they? ............................................................................................................................................. 2
What are they good for? ............................................................................................................................... 2
Sign up for an account .............................................................................................................................. 3
Set your name and email address ............................................................................................................. 3
Clone the repository from the server ....................................................................................................... 4
The SourceTree User Interface ..................................................................................................................... 6
Getting the Latest Version of the Code ........................................................................................................ 7
Committing and Pushing Your Changes ........................................................................................................ 7
Adding New Files ........................................................................................................................................... 9
Reverting Local Changes ............................................................................................................................... 9
Looking at the Commit History ..................................................................................................................... 9
The Typical Workflow ................................................................................................................................. 10
Practicing with the training repository ....................................................................................................... 10
The Git Server Web Interface ..................................................................................................................... 11