File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33This 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/
3638This 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
4550git submodule update --init --recursive
4651```
4752
Original file line number Diff line number Diff line change 22
33This 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
79You have:
@@ -64,19 +66,20 @@ git add .gitmodules Clients/ ApiResources/ TokenService/ README.md .gitignore
6466git 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:
100103Anyone 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
You can’t perform that action at this time.
0 commit comments