https://github.com/berasumitdev/jspider
Daily execution, assignment and study materials of Jspider training 👨💻
https://github.com/berasumitdev/jspider
java sdlc sql webtechnologies
Last synced: about 1 year ago
JSON representation
Daily execution, assignment and study materials of Jspider training 👨💻
- Host: GitHub
- URL: https://github.com/berasumitdev/jspider
- Owner: berasumitdev
- Created: 2024-03-09T04:48:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T15:25:34.000Z (almost 2 years ago)
- Last Synced: 2025-05-21T06:40:07.928Z (about 1 year ago)
- Topics: java, sdlc, sql, webtechnologies
- Language: Java
- Homepage:
- Size: 407 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Future reference: Git LFS
Git LFS (Large File Storage) is a Git extension that helps manage large files more efficiently by storing them outside the main Git repository. Here's a step-by-step guide on how to use Git LFS:
### Install Git LFS:
Before you start, make sure you have Git LFS installed on your system. You can download it from the official website: [Git LFS Installation](https://git-lfs.github.com/)
### Set Up a Repository with Git LFS:
1. **Initialize Git LFS:**
- Navigate to your Git repository on your local machine using the terminal.
- Run the following command to initialize Git LFS:
```bash
git lfs install
```
2. **Track File Types with LFS:**
- Decide which file types you want to manage with Git LFS (e.g., large PDFs, images, binaries).
- Run the following command for each file type you want to track:
```bash
git lfs track "*.pdf"
```
Replace `*.pdf` with the file extension you want to track.
3. **Commit and Push Changes:**
- Add, commit, and push your changes as you normally would:
```bash
git add .
git commit -m "Add large files using Git LFS"
git push origin main
```
### Working with Large Files:
1. **Pulling Changes:**
- When you clone a repository that uses Git LFS, the large files are not automatically downloaded. Run the following command to fetch and download them:
```bash
git lfs pull
```
2. **Pushing Changes:**
- When pushing changes that include large files, Git LFS will automatically upload them. You don't need to take any additional steps.
### Checking LFS Status:
To check the status of your Git LFS configuration and tracked files, you can use:
```bash
git lfs status
```
### Removing LFS Tracked Files:
If you want to stop tracking a file with Git LFS, you can use:
```bash
git lfs untrack "*.pdf"
```
Replace `*.pdf` with the file extension you want to stop tracking.
### Additional Notes:
- Make sure to include the `.gitattributes` file generated by Git LFS in your commits, as it contains information about which files are tracked using LFS.
- Ensure that all collaborators working on the repository have Git LFS installed.
Keep in mind that Git LFS is designed for large binary files, and using it for source code files is generally unnecessary. Use it selectively for files that need versioning but are too large for traditional Git handling.