Skip to content

Commit

Permalink
Fix based on suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiohj7 committed Oct 3, 2024
1 parent 8de0bf5 commit 5454fc5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

3 changes: 1 addition & 2 deletions src/ch2-git.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# What is Git? Why Git?
# What is Git?

### Version control

Expand All @@ -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

4 changes: 3 additions & 1 deletion src/ch2.1-git-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions src/ch2.2-using-git.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5454fc5

Please sign in to comment.