Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added git config lfs.locksverify false to quickstart #115

Merged
merged 1 commit into from
Nov 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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