File size: 1,782 Bytes
75cc9f0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84


## πŸš€ Quick Copy-Paste Setup

```powershell

cd "C:\Users\Dan Ong'udi\Docker Projects\deepsite"



git init

git checkout -b main



git remote add origin https://huggingface.co/spaces/ongudidan/deepsite-v2



git add .

git commit -m "Initial DeepSite v2 upload"



git push origin main --force

```

πŸ‘‰ When prompted:

* **Username** β†’ `ongudidan`
* **Password** β†’ your **Hugging Face access token** (not your Hugging Face password).

---

## πŸ“– Documentation: Connecting Local Repo to Hugging Face Space

### 1. Navigate to Your Project Folder

Move into your project directory:

```powershell

cd "C:\Users\Dan Ong'udi\Docker Projects\deepsite"

```

### 2. Initialize Git Repository

If this is a fresh project:

```powershell

git init

git checkout -b main

```

This creates a new Git repository and ensures you’re working on the `main` branch.

### 3. Add Hugging Face Space as Remote

Connect your local repository to the Hugging Face Space:

```powershell

git remote add origin https://huggingface.co/spaces/ongudidan/deepsite-v2

```

> πŸ”‘ Note: This uses a clean HTTPS URL (no token in the remote).

### 4. Stage and Commit Files

Add all project files and create your first commit:

```powershell

git add .

git commit -m "Initial DeepSite v2 upload"

```

### 5. Push to Hugging Face

Push your code to the Space:

```powershell

git push origin main --force

```

You will be prompted for credentials:

* **Username** β†’ your Hugging Face username (`ongudidan`).
* **Password** β†’ your Hugging Face **access token** (generated at [HF settings](https://huggingface.co/settings/tokens)).

---

βœ… After a successful push, Hugging Face will build and deploy your Space automatically.

---