Venkat.R
commited on
Commit
·
c876b0b
1
Parent(s):
8261ee3
doc(base): add setup doc
Browse files
setup.md
CHANGED
|
@@ -5,16 +5,36 @@ brew install git-lfs
|
|
| 5 |
or download from https://git-lfs.github.com/
|
| 6 |
|
| 7 |
## Update global git config
|
|
|
|
| 8 |
$ git lfs install
|
|
|
|
| 9 |
|
| 10 |
## Update system git config
|
|
|
|
| 11 |
$ git lfs install --system
|
|
|
|
| 12 |
|
| 13 |
-
##
|
|
|
|
|
|
|
| 14 |
```
|
| 15 |
git clone https://huggingface.co/webslate/transactify
|
| 16 |
```
|
| 17 |
-
|
|
|
|
| 18 |
```
|
| 19 |
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/webslate/transactify
|
| 20 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
or download from https://git-lfs.github.com/
|
| 6 |
|
| 7 |
## Update global git config
|
| 8 |
+
```
|
| 9 |
$ git lfs install
|
| 10 |
+
```
|
| 11 |
|
| 12 |
## Update system git config
|
| 13 |
+
```
|
| 14 |
$ git lfs install --system
|
| 15 |
+
```
|
| 16 |
|
| 17 |
+
## Clone the Repo
|
| 18 |
+
|
| 19 |
+
### Entire Clone
|
| 20 |
```
|
| 21 |
git clone https://huggingface.co/webslate/transactify
|
| 22 |
```
|
| 23 |
+
|
| 24 |
+
### Light Clone
|
| 25 |
```
|
| 26 |
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/webslate/transactify
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
## For Pushing the Code
|
| 30 |
+
|
| 31 |
+
> Refer to https://huggingface.co/blog/password-git-deprecation
|
| 32 |
+
|
| 33 |
+
### Set the Remote URL
|
| 34 |
+
```
|
| 35 |
+
$: git remote set-url origin https://<user_name>:<token>@huggingface.co/<repo_path>
|
| 36 |
+
```
|
| 37 |
+
### Token Creation
|
| 38 |
+
|
| 39 |
+
> Go to Settings > Access Tokens > Create new token >
|
| 40 |
+
Choose Write Tab (3rd one) / go here https://huggingface.co/settings/tokens/new?tokenType=write
|