mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 15:20:32 -04:00
- adopted the port; - made better use of port's Go framework; - removed 'shells/bash' and 'devel/gmake' from BUILD_DEPENDS; - added 'devel/git' to RUN_DEPENDS; - added 'pkg-message' with info from upstream on how to setup LFS; - added new 'MANPAGES' option. Approved by: araujo (mentor), mat Differential Revision: https://reviews.freebsd.org/D17904
22 lines
606 B
Text
22 lines
606 B
Text
To get started with Git LFS, the following commands can be used:
|
|
|
|
1. Setup Git LFS on your system. You only have to do this once per
|
|
repository per machine:
|
|
|
|
$ git lfs install
|
|
|
|
2. Choose the type of files you want to track, for examples all ISO
|
|
images, with git lfs track:
|
|
|
|
$ git lfs track "*.iso"
|
|
|
|
3. The above stores this information in gitattributes(5) files, so
|
|
that file need to be added to the repository:
|
|
|
|
$ git add .gitattributes
|
|
|
|
4. Commit, push and work with the files normally:
|
|
|
|
$ git add file.iso
|
|
$ git commit -m "Add disk image"
|
|
$ git push
|