Skip to content

Commit 34191a1

Browse files
authored
Merge pull request #23 from lukeoson/feature/new-job-cleanup
Feature/new job cleanup
2 parents ab4f59a + be794b0 commit 34191a1

File tree

2 files changed

+73
-0
lines changed

2 files changed

+73
-0
lines changed

docs/Net-Auto/intro-to-version-control.md

+67
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,73 @@ tags:
1616
Please check back later for updates.
1717

1818

19+
## Git Basics
20+
21+
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.
22+
23+
### Key Concepts
24+
25+
1. **Repository**: A container for your project, including all files and their version history.
26+
2. **Commit**: A snapshot of your project at a specific point in time.
27+
3. **Branch**: An independent line of development, allowing you to work on features without affecting the main codebase.
28+
4. **Remote**: A version of your repository hosted on a server (GitHub, GitLab).
29+
30+
### Essential Commands
31+
32+
1. **Initialize a Repository**
33+
```
34+
git init
35+
```
36+
37+
2. **Clone a Repository**
38+
```
39+
git clone <repository-url>
40+
```
41+
42+
3. **Check Status**
43+
```
44+
git status
45+
```
46+
47+
4. **Stage Changes**
48+
```
49+
git add <file>
50+
```
51+
or stage all changes:
52+
```
53+
git add .
54+
```
55+
56+
5. **Commit Changes**
57+
```
58+
git commit -m "Your commit message"
59+
```
60+
61+
6. **Push Changes to Remote**
62+
```
63+
git push origin <branch-name>
64+
```
65+
66+
7. **Pull Changes from Remote**
67+
```
68+
git pull origin <branch-name>
69+
```
70+
71+
8. **Create and Switch to a New Branch**
72+
```
73+
git checkout -b <new-branch-name>
74+
```
75+
76+
9. **Switch Between Branches**
77+
```
78+
git checkout <branch-name>
79+
```
80+
81+
10. **View Commit History**
82+
```
83+
git log
84+
```
85+
1986
## Pull Requests
2087
2188
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.

docs/index.md

+6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ hide:
88
#level:
99
---
1010

11+
<!--
1112
# :material-party-popper: Luke Richardson ... is Available for Hire:exclamation:{ .bounce}
13+
-->
14+
15+
# :material-party-popper: Welcome to Luke Richardson's Pages
1216

1317
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.
1418

@@ -17,6 +21,7 @@ I'm [Luke](https://www.linkedin.com/in/luke-richardson/). A former [Network Arch
1721
<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>
1822

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

3743
: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.
3844

0 commit comments

Comments
 (0)