Skip to content

Commit b5ec6af

Browse files
committed
Quartz Sync
1 parent 2ded505 commit b5ec6af

2 files changed

Lines changed: 12 additions & 7 deletions

File tree

content/.obsidian/workspace.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
"state": {
1414
"type": "markdown",
1515
"state": {
16-
"file": "index.md",
16+
"file": "06-Git-Remote.md",
1717
"mode": "source",
1818
"source": true
1919
},
2020
"icon": "lucide-file",
21-
"title": "index"
21+
"title": "06-Git-Remote"
2222
}
2323
}
2424
]
@@ -170,13 +170,13 @@
170170
},
171171
"active": "d5a4af797a612641",
172172
"lastOpenFiles": [
173+
"index.md",
173174
"06-Git-Remote.md",
174175
"05-Stash.md",
175176
"04-Resolving Merge Conflicts.md",
176177
"03-Merge-Conflicts.md",
177178
"02-Merge.md",
178179
"01-Branching.md",
179-
"index.md",
180180
"attachments/Pasted image 20250322110505.png",
181181
"attachments/Pasted image 20250322084920.png",
182182
"attachments/Pasted image 20250322084846.png",

content/06-Git-Remote.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
11
1. Go to your git hub account and create a new **empty repository**
22
>[!warning] When creating the repository, make sure that you **don't create the README**, otherwise the repository starts with an initial commit, which may conflict with your local git commit history.
33
4+
![[Pasted image 20250322110505.png|800]]<br/>
45

5-
![[Pasted image 20250322110505.png|800]]
66
2. Get your remote Link(Either http or ssh)
7-
![[Pasted image 20250322084846.png|800]]
8-
3. Go to your local repository, and the remote link to the repo
7+
8+
![[Pasted image 20250322084846.png|800]]<br/>
9+
10+
3. Go to your local repository, and the remote link to the repository
911
```bash
1012
git remote add origin <link>
1113
```
12-
4. Fetch the origin
14+
15+
4. Fetch the origin
1316
```bash
1417
git fetch origin
1518
```
19+
1620
5. Push the changes to your remote repository, since in you don't have upstream branch already setup, we need set it in the command.
1721
```bash
1822
git push --set-upstream origin main
1923
```
24+
2025
6. Observe your remote repository, and observe whether the commit history matches your local `git log`

0 commit comments

Comments
 (0)