Skip to content

Commit db80752

Browse files
update tutorial git repo url
1 parent 489d1bd commit db80752

2 files changed

Lines changed: 22 additions & 14 deletions

File tree

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
This repository demonstrates the **Client, API Resource, and Token Service (CAT)** pattern using Angular and .NET technologies.
44

5+
**Repository**: https://github.com/workcontrolgit/AngularNetTutotial.git
6+
57
## Repository Structure
68

79
```
@@ -36,12 +38,15 @@ medium/
3638
This repository uses Git submodules to manage the individual components. Clone everything with:
3739

3840
```bash
39-
git clone --recurse-submodules <repository-url>
41+
git clone --recurse-submodules https://github.com/workcontrolgit/AngularNetTutotial.git
42+
cd AngularNetTutotial
4043
```
4144

42-
Or if you've already cloned:
45+
Or if you've already cloned without submodules:
4346

4447
```bash
48+
git clone https://github.com/workcontrolgit/AngularNetTutotial.git
49+
cd AngularNetTutotial
4550
git submodule update --init --recursive
4651
```
4752

SETUP-SUBMODULES.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
This guide will help you convert the existing repositories into proper Git submodules.
44

5+
**Tutorial Repository**: https://github.com/workcontrolgit/AngularNetTutotial.git
6+
57
## Current Situation
68

79
You have:
@@ -64,19 +66,20 @@ git add .gitmodules Clients/ ApiResources/ TokenService/ README.md .gitignore
6466
git commit -m "Add submodules for Angular client, API, and IdentityServer"
6567
```
6668

67-
### 5. (Optional) Create GitHub Repository
69+
### 5. Push to GitHub Repository
6870

69-
If you want to host this tutorial on GitHub:
71+
Push your changes to the tutorial repository:
7072

71-
1. Create a new repository on GitHub (e.g., `CAT-Pattern-Tutorial`)
72-
2. Add the remote:
73-
```bash
74-
git remote add origin https://github.com/YOUR_USERNAME/CAT-Pattern-Tutorial.git
75-
```
76-
3. Push:
77-
```bash
78-
git push -u origin main
79-
```
73+
```bash
74+
git remote add origin https://github.com/workcontrolgit/AngularNetTutotial.git
75+
git branch -M main
76+
git push -u origin main
77+
```
78+
79+
**Note**: If the remote already exists, just push:
80+
```bash
81+
git push
82+
```
8083

8184
## Verifying Setup
8285

@@ -100,7 +103,7 @@ You should see something like:
100103
Anyone cloning your tutorial should use:
101104

102105
```bash
103-
git clone --recurse-submodules https://github.com/YOUR_USERNAME/CAT-Pattern-Tutorial.git
106+
git clone --recurse-submodules https://github.com/workcontrolgit/AngularNetTutotial.git
104107
```
105108

106109
### Updating Submodules

0 commit comments

Comments
 (0)