https://github.com/chmodshubham/git-lfs
git-large-file-system setup
https://github.com/chmodshubham/git-lfs
git lfs
Last synced: 9 months ago
JSON representation
git-large-file-system setup
- Host: GitHub
- URL: https://github.com/chmodshubham/git-lfs
- Owner: chmodshubham
- Created: 2023-03-04T20:18:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-22T07:42:31.000Z (almost 3 years ago)
- Last Synced: 2024-04-16T04:13:10.720Z (about 2 years ago)
- Topics: git, lfs
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-lfs
## Installation
1. Download the tar file for your ubuntu from [here](https://git-lfs.com/).
2. Locate to the directory and unzip it.
```bash
cd ~/Downloads/
tar -xzvf git-lfs-linux-amd64-vx.x.x.tar.gz
cd git-lfs-x.x.x/
```
3. Run the script:
```bash
sudo chmod +x install.sh
./install.sh
```
## Implementation
Run the following commands in the repository.
```bash
git init
git lfs install
# change largeFileName with the file name which exceeds 100Mb
git lfs track
```
`.gitattributes` file will be created with `largeFile` name inside it.
```bash
sudo git add .
git commit -m "first commit"
git remote add origin
git push -u origin main
```