> For the complete documentation index, see [llms.txt](https://beritacryptoo.gitbook.io/node/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://beritacryptoo.gitbook.io/node/gitopia/membuat-repo-dari-0.md).

# Membuat Repo dari 0

### 1. Buka

{% embed url="<https://gitopia.com/>" %}

{% hint style="danger" %} <mark style="color:red;">**Jangan**</mark> Connect Wallet Keplr
{% endhint %}

### 2. Pilih Recover

<figure><img src="https://2662825537-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI3uyPQUnfzoZEU60Wqmq%2Fuploads%2FUK6nL2oZNPleX3CN2Ov1%2Frecoverexitingwallert.png?alt=media&amp;token=2ae42728-b901-46b9-a989-1df6d7f9f72f" alt=""><figcaption></figcaption></figure>

### 3. Masukan Pharse 24 Kata dari wallet VPS

### 4. Buat Profil (Kalo belom)

### 5. Create a Repository

<figure><img src="https://2662825537-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI3uyPQUnfzoZEU60Wqmq%2Fuploads%2F1oXpxNhHjW0BeJ52yJhP%2Fcreate-repo.png?alt=media&amp;token=8e6a87f9-41d6-4397-8966-a3b753dbae8e" alt=""><figcaption></figcaption></figure>

Nama bebas, deskripsi bebas

<figure><img src="https://2662825537-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI3uyPQUnfzoZEU60Wqmq%2Fuploads%2FOqdubbqzpEtr6xZuiDD4%2FNamaBebas.png?alt=media&amp;token=a7f967ab-bb84-4155-92b9-87e571406cc4" alt=""><figcaption></figcaption></figure>

#### Selanjutnya, masuk ke VPS

### 6. Install Git-Remote

```
curl https://get.gitopia.com | bash
```

### 7. Buat Folder baru sesuai dengan nama Repository

```
mkdir NamaRepo
```

### 8. Import Wallet

**a. Download Wallet di dashboard**

<figure><img src="https://2662825537-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI3uyPQUnfzoZEU60Wqmq%2Fuploads%2FwD82z2PiyU4HcZaV6A6g%2Fdownload%20wallet.png?alt=media&amp;token=3a23b6a9-b0d4-47b2-98b7-d97272ac1cfe" alt=""><figcaption></figcaption></figure>

**b. Buat file .json di VPS**

```
nano wallet.json
```

**c. Buka file wallet yang tadi di download**

**d. Copy isinya**

**e. Paste ke VPS**

Save, CTRL+X Y Enter

**f. Cek untuk memastikan**

```
cat wallet.json
```

<figure><img src="https://2662825537-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI3uyPQUnfzoZEU60Wqmq%2Fuploads%2F3DglOZkhEJnqfY46xrcN%2Fcek%20memastikan.png?alt=media&amp;token=634c0108-7779-4314-9527-3277085baf19" alt=""><figcaption></figcaption></figure>

### 9. Mulai membuat Repository

**a. Masuk ke folder**

```
cd NamaRepo
```

**b. Tambahkan detail**

```
git config --global user.email "EmailMU"
git config --global user.name "NamaAkunMU"
```

Cek

```
git config -l
```

<figure><img src="https://2662825537-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI3uyPQUnfzoZEU60Wqmq%2Fuploads%2FqUqF8mr88NfZJshv4Soz%2Fgit%20config.png?alt=media&amp;token=85df5779-ce4b-4051-a404-024c05e5308b" alt=""><figcaption></figcaption></figure>

**c. Buat isi Repository**

```
echo "# Halo, David disini" >> README.md
git init
git add README.md
git commit -m "initial commit"
```

> `Halo, David disini` diganti dengan kata-kata terserahmu

**d. Export file Wallet**

```
export GITOPIA_WALLET=/root/wallet.json
```

### 10. Upload ke Gitopia

**a. Kembali ke web**

**b. Copy command**

<figure><img src="https://2662825537-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI3uyPQUnfzoZEU60Wqmq%2Fuploads%2FlfqBBAaqC4D5FpTKWyWE%2Fcopy%20command%20ini.png?alt=media&amp;token=e29e22cf-657c-4ed2-ad7f-86b954121095" alt=""><figcaption></figcaption></figure>

**c. Paste ke VPS**

**d. OK!**

<figure><img src="https://2662825537-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI3uyPQUnfzoZEU60Wqmq%2Fuploads%2FodLH5y1GbTZJq95vTRJW%2FOK.png?alt=media&amp;token=e17b0cea-59f9-413d-b516-25584f637202" alt=""><figcaption></figcaption></figure>

### **Cek di web**

<figure><img src="https://2662825537-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI3uyPQUnfzoZEU60Wqmq%2Fuploads%2FwKbDG2bjOpPrI5aFMoU0%2F2022-11-21_15-38.png?alt=media&amp;token=676fc422-63b5-4c99-b898-d694c041076c" alt=""><figcaption></figcaption></figure>
