Using Git LFS with Tower for Binary Assets
Tower displays Git LFS badges but does not install Git LFS. Configure .gitattributes and install git-lfs separately before tracking binaries.
05 Oct 2026, 01:10 UTC

Start here: Git LFS is external to Tower
If your repository contains design files, installers, or other binaries, every commit grows the Git history. Tower can display Git LFS metadata, but it does not install or run Git LFS itself. The useful takeaway is: install git-lfs on each machine, configure .gitattributes in the repository, then let Tower commit and push normally while the local git-lfs client uploads the actual binary objects.
How responsibility divides between Tower and git-lfs
Tower is a graphical Git client for macOS and Windows. Git LFS is a separate command-line extension that replaces large files in Git history with small pointer files. When you commit an LFS-tracked file in Tower, Tower invokes the locally installed git-lfs client to upload the binary to the remote LFS store. The Git commit stores only the pointer. If git-lfs is missing, Tower cannot create LFS objects and may commit the raw binary instead.
Worked configuration: track Photoshop files
This example tracks *.psd files. Run commands in a system terminal, not inside Tower, unless you have confirmed Tower's embedded terminal invokes the same git-lfs installation.
- Open a terminal in the repository root.
- Check whether Git LFS is available:
git lfs version
Expected output: a version line such as git-lfs/3.x. If the command is not found, install Git LFS from git-lfs.github.com before continuing. Tower will not install it for you.
- Initialize LFS for your user account:
git lfs install
This writes to your local Git configuration, usually ~/.gitconfig, and typically requires no administrator permissions. It does not modify the repository.
- Create or edit .gitattributes in the repository root:
*.psd filter=lfs diff=lfs merge=lfs -text
filter=lfs tells Git to pass the file through Git LFS on checkout and commit. diff=lfs and merge=lfs use LFS-aware diff and merge drivers. -text marks the file as binary so Git does not perform line-ending conversion.
- Stage and commit the attribute file:
git add .gitattributes
git commit -m "Track Photoshop files with Git LFS"
You can run these in Tower or in the terminal.
- Add a Photoshop file and commit it in Tower:
git add design.psd
git commit -m "Add UI mockup"
Tower delegates the upload of design.psd to git-lfs. The commit history contains a pointer file, not the full binary.
What to expect in Tower
After the commit, Tower displays an LFS badge next to tracked files in the working copy, commit, and history views. The pointer file contains metadata such as an object ID and size, not the image data. If your Git host supports LFS locking, Tower can offer lock and unlock actions for non-mergeable binaries; this depends on the remote server, not on Tower alone.
Limits and common mistakes
- Tower does not install git-lfs. Every developer and CI runner needs the binary installed separately.
- Cloning without LFS yields pointers. On a machine without git-lfs, design.psd appears as a small text file containing the LFS pointer, not the actual binary.
- Remote quotas are host-controlled. Storage and bandwidth limits are enforced by your Git host, not by Tower, and can change between plans.
- Tracking after a file is already committed does not shrink history. If design.psd was committed raw before you added the .gitattributes rule, the raw binary remains in earlier commits. Removing it requires history-rewriting tools outside Tower's normal workflow.
- Do not assume Tower manages LFS storage. Tower is a client; the remote LFS store belongs to the host.
Verify the result
- Run git lfs version in a terminal. A missing command means LFS will not work regardless of repository configuration.
- Run git lfs ls-files in the repository. Tracked files should appear with their LFS object IDs.
- Clone the repository on a machine without git-lfs and open a tracked binary. It should contain pointer text, not the binary content.
- In Tower, commit a new tracked binary and confirm the LFS indicator appears instead of a raw binary diff preview.
Rollback
Committing .gitattributes changes repository state. To undo the most recent commit:
git reset --hard HEAD~1
Warning: this discards uncommitted work and rewrites local history. Do not run it on a branch shared with teammates unless you have coordinated the reset. If the commit has already been pushed, reverting is safer than rewriting:
git revert HEAD