Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 380
    • Issues 380
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3183
Closed
Open
Issue created Mar 17, 2018 by Timothy Potts@tjpotts5

git-lfs lock/unlock

It would be great if TortoiseGit supported git-lfs locking functionality. This allows files to be locked so that other team members can not modify them at the same time. This is useful for, e.g. binary files, images, or other non-mergeable files.

The interface is simple. git lfs lock <filename> locks a file git lfs unlock <filename> unlocks the file again. git lfs locks gives a list of files currently locked, and the users who have locked them. Files which have not been locked by the user are automatically set as read-only, and will cause a push to fail (or at least give a message if the server is not configured to support git-lfs locking).

My proposal would be to add "Lock" and "Unlock" context menu options for files, as well as a "Lock list" menu option which would bring up a window similar to e.g. the "Check for modifications" option which would list all currently locked files. It would also be nice if locked files had a unique icon.

Related to #2972

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking