Skip to content

Commit

Permalink
Merge pull request #115 from datopian/fix-quickstart-doc
Browse files Browse the repository at this point in the history
Added git config lfs.locksverify false to quickstart
  • Loading branch information
rufuspollock authored Nov 22, 2023
2 parents 903aacb + 87195b1 commit f202e4e
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions docs/source/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,6 @@ git clone fake-remote-repo local-repo
cd local-repo
```

Create some files and add them to git:
```shell
# This README file will be committed to Git as usual
echo "# This is a Giftless test" > README.md
# Let's also create a 1mb binary file which we'll want to store in Git LFS
dd if=/dev/zero of=1mb-blob.bin bs=1024 count=1024
git add README.md 1mb-blob.bin
```

Enable Git LFS and tell it to track `.bin` files:
```shell
git lfs install
Expand Down Expand Up @@ -142,12 +133,22 @@ configuration as us when cloning the repository:
```shell
git add .gitattributes .lfsconfig
```

Create some files and add them to git:
```shell
# This README file will be committed to Git as usual
echo "# This is a Giftless test" > README.md
# Let's also create a 1mb binary file which we'll want to store in Git LFS
dd if=/dev/zero of=1mb-blob.bin bs=1024 count=1024
git add README.md 1mb-blob.bin
```
Commit all the files we have staged:
```shell
git commit -m "Adding some files to track"
```

Before pushing we need to disable locking of the files:
```shell
git config lfs.locksverify false
```
Finally, let's push our tracked files to Git LFS:
```shell
git push -u origin master
Expand Down

0 comments on commit f202e4e

Please sign in to comment.