---
name: "git-lfs-post-checkout"
section: "1"
platform: "linux"
package: "git-lfs"
version: "3.8.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/git-lfs-post-checkout"
---

# git-lfs-post-checkout(1)

Git post-checkout hook implementation

## NAME

git-lfs-post-checkout - Git post-checkout hook implementation

## SYNOPSIS

```
git lfs post-checkout <rev-before> <ref-after> <is-branch-checkout>
```

## DESCRIPTION

Responds to Git post-checkout events. It makes sure that any files which are marked as lockable by `git lfs track` are read-only in the working copy, if not currently locked by the local user.

## SEE ALSO

[git-lfs-track(1)](/git-lfs-track/1.md)

Part of the [git-lfs(1)](/git-lfs/1.md) suite.
