Skip to content

Commit

Permalink
Merge pull request #23 from lukeoson/feature/new-job-cleanup
Browse files Browse the repository at this point in the history
Feature/new job cleanup
  • Loading branch information
lukeoson authored Oct 27, 2024
2 parents ab4f59a + be794b0 commit 34191a1
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 0 deletions.
67 changes: 67 additions & 0 deletions docs/Net-Auto/intro-to-version-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,73 @@ tags:
Please check back later for updates.


## Git Basics

Git is a distributed version control system that helps track changes in source code during software development. It's essential for collaborative work and managing complex projects.

### Key Concepts

1. **Repository**: A container for your project, including all files and their version history.
2. **Commit**: A snapshot of your project at a specific point in time.
3. **Branch**: An independent line of development, allowing you to work on features without affecting the main codebase.
4. **Remote**: A version of your repository hosted on a server (GitHub, GitLab).

### Essential Commands

1. **Initialize a Repository**
```
git init
```

2. **Clone a Repository**
```
git clone <repository-url>
```

3. **Check Status**
```
git status
```

4. **Stage Changes**
```
git add <file>
```
or stage all changes:
```
git add .
```

5. **Commit Changes**
```
git commit -m "Your commit message"
```

6. **Push Changes to Remote**
```
git push origin <branch-name>
```

7. **Pull Changes from Remote**
```
git pull origin <branch-name>
```

8. **Create and Switch to a New Branch**
```
git checkout -b <new-branch-name>
```

9. **Switch Between Branches**
```
git checkout <branch-name>
```

10. **View Commit History**
```
git log
```
## Pull Requests
A workflow that uses feature branches and pull requests (PRs) is a sane way to manage a codebase, collaborate with others, and maintain a clean main branch.
Expand Down
6 changes: 6 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ hide:
#level:
---

<!--
# :material-party-popper: Luke Richardson ... is Available for Hire:exclamation:{ .bounce}
-->

# :material-party-popper: Welcome to Luke Richardson's Pages

I'm [Luke](https://www.linkedin.com/in/luke-richardson/). A former [Network Architect](https://en.wikipedia.org/wiki/Network_architecture#:~:text=Network%20architecture%20is%20the%20design,well%20as%20communication%20protocols%20used.) pursuing Technical Management opportunities in London.

Expand All @@ -17,6 +21,7 @@ I'm [Luke](https://www.linkedin.com/in/luke-richardson/). A former [Network Arch
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d9930.841589429248!2d-0.1326323!3d51.5185289!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x48761b009c344f4f%3A0xc3a8829a41d799ea!2sLuke%20Richardson!5e0!3m2!1sen!2suk!4v1725916073228!5m2!1sen!2suk" width="100%" height="100%" style="border:0;" allowfullscreen="" loading="lazy"referrerpolicy="no-referrer-when-downgrade"></iframe>

---
<!--
:material-video-outline: Thank you for visiting. If you have a spare 5 minutes... Please allow me to introduce myself.
Expand All @@ -33,6 +38,7 @@ I'm [Luke](https://www.linkedin.com/in/luke-richardson/). A former [Network Arch
</div>
---
-->

:material-checkbox-marked-outline: Here you will find my [Resume](Hire-Me/index.md), my new [Blog](blog/index.md), and some [Network](Net-Auto/index.md) related content.

Expand Down

0 comments on commit 34191a1

Please sign in to comment.