diff --git a/src/SUMMARY.md b/src/SUMMARY.md index f885763..75873cf 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -5,11 +5,10 @@ - [What is Linux?](./ch1-linux.md) - [How to Install Linux](./ch1.1-linux-installation.md) - [Using the Linux Terminal](./ch1.2-linux-terminal.md) -- [What is Git? Why Git?](./ch2-git.md) +- [What is Git?](./ch2-git.md) - [How to Install git](./ch2.1-git-installation.md) - [Using git](./ch2.2-using-git.md) --- [Cheat Sheet](./cheat-sheet.md) - diff --git a/src/ch2-git.md b/src/ch2-git.md index a2fd81b..4fabfde 100644 --- a/src/ch2-git.md +++ b/src/ch2-git.md @@ -1,4 +1,4 @@ -# What is Git? Why Git? +# What is Git? ### Version control @@ -11,4 +11,3 @@ It basically takes a picture of what your files look like at the moment and stor Lets say that you need to work on a coding project with your lab partner. How can both of you work on the same codebase? Git makes this possible - diff --git a/src/ch2.1-git-installation.md b/src/ch2.1-git-installation.md index c105407..4b62ca7 100644 --- a/src/ch2.1-git-installation.md +++ b/src/ch2.1-git-installation.md @@ -2,10 +2,12 @@ ## Linux -Install it using your favourite package manager. +On linux _Ubuntu_ you can use the following package `$ sudo apt-get install git-all` +For other Linux distros you can use the same name for the package `git-all` + ## MacOS MacOS will already have git installed by default. diff --git a/src/ch2.2-using-git.md b/src/ch2.2-using-git.md index bec9e58..e64b7d4 100644 --- a/src/ch2.2-using-git.md +++ b/src/ch2.2-using-git.md @@ -8,6 +8,8 @@ In our case main will be our master repository. This is the main code that will ### Branches +Branches allow you to work on different versions of your project simultaneously without affecting the main codebase + From this main code you can create branches, this allows you to make changes without the chance of ruining the main code. Think of it as a copy of your code that you can now change with zero risks. Use this command to create a new branch: