Category: Git

4 posts Feed (Atom)
Git
2026-01-09 03:02 (10 months ago)
git skip-worktree: ignore local changes to tracked files (vs assume-unchanged)

.gitignore and .git/info/exclude only cover untracked files. Run git update-index --skip-worktree to keep local edits to a tracked file out of git status.

GitShellscript(Bash/Zsh)
2024-05-26 15:38 (2 years ago)
How to Deploy a Project with Private Git Submodules to Vercel

During the build process on Vercel, it is not possible to retrieve submodules that are in a private repository. It is necessary to use a fine-grained personal access token to retrieve them via HTTP.

DockerGit
2023-06-16 04:09 (3 years ago)
How to Set Docker Image Tags Based on the Build Commit Count

Assigning Version Numbers Using Commit Counts for Simplicity

GitShellscript(Bash/Zsh)
2020-07-13 07:07 (6 years ago)
Git Checkout Using Partial Branch Name Matching

Pitfalls when running a local server with `php -S` on macOS Big Sur or later, and how to terminate SSL with a separate proxy.