This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8bd43b7
commit 8145f1a
Showing
49 changed files
with
64 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1 @@ | ||
*.md linguist-detectable | ||
|
||
*.mp4 filter=lfs diff=lfs merge=lfs -text | ||
*.png filter=lfs diff=lfs merge=lfs -text | ||
*.jpg filter=lfs diff=lfs merge=lfs -text | ||
*.jpeg filter=lfs diff=lfs merge=lfs -text |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+80.9 KB
(64000%)
sites/dev.mauss/posts/admin-dashboard-with-svelte-and-firebase/admin-advokat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+96.4 KB
(76000%)
sites/dev.mauss/posts/admin-dashboard-with-svelte-and-firebase/admin-kasus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+25.4 KB
(20000%)
sites/dev.mauss/posts/admin-dashboard-with-svelte-and-firebase/admin-login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+15.9 KB
(13000%)
sites/dev.mauss/posts/admin-dashboard-with-svelte-and-firebase/spa-lighthouse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+57.6 KB
(45000%)
sites/dev.mauss/posts/admin-dashboard-with-svelte-and-firebase/spa-performance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+15.9 KB
(13000%)
sites/dev.mauss/posts/admin-dashboard-with-svelte-and-firebase/spa-structure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+15.4 KB
(12000%)
sites/dev.mauss/posts/admin-dashboard-with-svelte-and-firebase/ssr-lighthouse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+59.5 KB
(47000%)
sites/dev.mauss/posts/admin-dashboard-with-svelte-and-firebase/ssr-performance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+21.6 KB
(17000%)
sites/dev.mauss/posts/admin-dashboard-with-svelte-and-firebase/ssr-structure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+28.3 KB
(22000%)
sites/dev.mauss/posts/admin-dashboard-with-svelte-and-firebase/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+26.9 KB
(21000%)
sites/dev.mauss/posts/complete-flutter-development-automation/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+88.5 KB
(70000%)
...s/dev.mauss/posts/django-quick-setup-guide-with-gitlab-and-heroku/thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+44 KB
(35000%)
sites/dev.mauss/posts/fix-double-nat/cisco-port-forward.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+89.8 KB
(71000%)
sites/dev.mauss/posts/fix-double-nat/fully-accessible.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+110 KB
(86000%)
sites/dev.mauss/posts/fix-double-nat/huawei-port-forward.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
--- | ||
date: "2023-11-30T12:00:00+07:00" | ||
title: Git LFS Crash Course | ||
description: A quick introduction to the basics of Git LFS | ||
tags: [tech, git, crash-course] | ||
--- | ||
|
||
[Git LFS](https://git-lfs.com/) is an open source Git extension for versioning large files (e.g. audio, video, and graphics) with Git by replacing these large files with text pointers that are tracked by Git, while storing the file contents on a remote server like GitHub. | ||
|
||
This extension is really useful when working on a project with large files that are updated frequently, such as assets in a game project. It allows us to keep the repository size small while still being able to version the large files, meaning faster cloning and pulling of the repository. We also don't need to worry about cleaning up the repository history to remove the large files after they are no longer needed. | ||
|
||
We do have to keep in mind that Git LFS needs a remote server to store the large files, so we're fully dependent on the server for their availability, storage, and bandwidth. If you rarely or never update the large files, then you can ignore this extension knowing you're not missing out on anything. | ||
|
||
## Installation | ||
|
||
To install Git LFS, we can run the following command... | ||
|
||
```bash | ||
git lfs install | ||
``` | ||
|
||
Then we can track the large files (we're using "mp4" files as an example here) by running... | ||
|
||
```bash | ||
git lfs track "*.mp4" | ||
``` | ||
|
||
This will add or generate a `.gitattributes` file that you'll need to track and commit. Commit the rest of the changes, push it, and you're done! | ||
|
||
## Uninstalling | ||
|
||
To uninstall Git LFS, we can run the following command... | ||
|
||
```bash | ||
git lfs uninstall | ||
``` | ||
|
||
Then go to your `.gitattributes` file and remove the lines that were added by Git LFS (if it's everything, then you can safely delete the file) | ||
|
||
```diff | ||
#$ file: .gitattributes | ||
# examples this file might have | ||
*.md linguist-detectable | ||
|
||
-*.mp4 filter=lfs diff=lfs merge=lfs -text | ||
-*.png filter=lfs diff=lfs merge=lfs -text | ||
-*.jpg filter=lfs diff=lfs merge=lfs -text | ||
-*.jpeg filter=lfs diff=lfs merge=lfs -text | ||
``` | ||
|
||
Re-track and add the files that were previously tracked by Git LFS by running... | ||
|
||
```bash | ||
git add --renormalize . | ||
``` | ||
|
||
commit the changes, push it, and you're done! | ||
|
||
--- | ||
|
||
Reference(s): | ||
|
||
- <https://git-lfs.com/> - Git Large File Storage Website | ||
- <https://docs.github.com/en/repositories/working-with-files/managing-large-files> - Managing large files in GitHub |
Binary file modified
BIN
+46.1 KB
(36000%)
...posts/guide-to-plex-media-server-with-raspberry-pi/raspi-config-interfacing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+52.7 KB
(42000%)
....mauss/posts/guide-to-plex-media-server-with-raspberry-pi/raspi-config-main.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+16.5 KB
(13000%)
...v.mauss/posts/guide-to-plex-media-server-with-raspberry-pi/raspi-config-vnc.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+30.7 KB
(24000%)
sites/dev.mauss/posts/guide-to-plex-media-server-with-raspberry-pi/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+36.3 KB
(29000%)
sites/dev.mauss/posts/how-to-set-up-sapper-with-cpanel/cpanel-node-setup.png
Oops, something went wrong.
Binary file modified
BIN
+35.3 KB
(28000%)
sites/dev.mauss/posts/how-to-set-up-sapper-with-cpanel/cpanel-software.png
Oops, something went wrong.
Binary file modified
BIN
+135 KB
(110000%)
sites/dev.mauss/posts/importance-of-proper-git-usage/best-git-commit.png
Oops, something went wrong.
Binary file modified
BIN
+311 KB
(240000%)
....mauss/posts/importance-of-proper-git-usage/cluttered-merge-request-commits.png
Oops, something went wrong.
Binary file modified
BIN
+33.4 KB
(26000%)
...ev.mauss/posts/importance-of-proper-git-usage/github-git-commit-description.png
Oops, something went wrong.
Binary file modified
BIN
+56.8 KB
(45000%)
...s/dev.mauss/posts/importance-of-proper-git-usage/github-git-commit-expanded.png
Oops, something went wrong.
Binary file modified
BIN
+25.6 KB
(20000%)
sites/dev.mauss/posts/importance-of-proper-git-usage/github-git-commit.png
Oops, something went wrong.
Binary file modified
BIN
+14.9 KB
(12000%)
sites/dev.mauss/posts/importance-of-proper-git-usage/gitlab-protected-branches.png
Oops, something went wrong.
Binary file modified
BIN
+51.9 KB
(41000%)
sites/dev.mauss/posts/importance-of-proper-git-usage/merge-request-approvals.png
Oops, something went wrong.
Binary file modified
BIN
+38.3 KB
(30000%)
sites/dev.mauss/posts/importance-of-proper-git-usage/merge-request-settings.png
Oops, something went wrong.
Binary file modified
BIN
+25.2 KB
(20000%)
sites/dev.mauss/posts/importance-of-proper-git-usage/thumbnail.png
Oops, something went wrong.
Binary file modified
BIN
+98.6 KB
(77000%)
sites/dev.mauss/posts/importance-of-proper-git-usage/vscode-git-commit.png
Oops, something went wrong.
Binary file modified
BIN
+193 KB
(150000%)
sites/dev.mauss/posts/persona-from-a-hacker-perspective/persona-aji.png
Oops, something went wrong.
Binary file modified
BIN
+358 KB
(280000%)
sites/dev.mauss/posts/persona-from-a-hacker-perspective/persona-bayu.png
Oops, something went wrong.
Binary file modified
BIN
+263 KB
(210000%)
sites/dev.mauss/posts/persona-from-a-hacker-perspective/persona-nadine.png
Oops, something went wrong.
Binary file modified
BIN
+262 KB
(200000%)
sites/dev.mauss/posts/persona-from-a-hacker-perspective/persona-syah.png
Oops, something went wrong.
Binary file modified
BIN
+40.2 KB
(32000%)
sites/dev.mauss/posts/persona-from-a-hacker-perspective/persona-target.png
Oops, something went wrong.
Binary file modified
BIN
+26.2 KB
(21000%)
sites/dev.mauss/posts/persona-from-a-hacker-perspective/thumbnail.png
Oops, something went wrong.
Binary file modified
BIN
+90.7 KB
(72000%)
sites/dev.mauss/posts/raspberry-pi-real-time-monitoring/thumbnail.jpg
Oops, something went wrong.
Binary file modified
BIN
+29.9 KB
(24000%)
sites/dev.mauss/posts/tdd-a-double-edged-sword/thumbnail.png
Oops, something went wrong.
Binary file modified
BIN
+5.47 MB
(4300000%)
sites/dev.mauss/reviews/anime/k-on/yui-wants-to-do-the-vocals.mp4
Binary file not shown.
Binary file modified
BIN
+16.2 MB
(13000000%)
sites/dev.mauss/reviews/anime/watashi-ni-tenshi-ga-maiorita/french-toast-breakfast.mp4
Binary file not shown.