git-unlock
Unlock a file in a Git repository so it can be modified by a commit. Part of git-extras. See also git lock. More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-unlock>.
Install
- All systems
-
curl cmd.cat/git-unlock.sh
- Debian
-
apt-get install git-extras
- Ubuntu
-
apt-get install git-extras
- Kali Linux
-
apt-get install git-extras
- Fedora
-
dnf install git-extras
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install git-extras
- OS X
-
brew install git-extras
- Raspbian
-
apt-get install git-extras
- Dockerfile
- dockerfile.run/git-unlock
Unlock a file in a Git repository so it can be modified by a commit. Part of git-extras. See also git lock. More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-unlock>.
-
Enable the ability to commit changes of a previously-locked local file:
git unlock path/to/file
© tl;dr; authors and contributors