git-wait-0.3.2 is not a library.
git-wait
A simple wrapper utility around git that waits until index.lock file is no longer present before forwarding all the
args to git and running the command. This is especially useful when there are potentially other git commands running
on the same repo.
Installation
- Ensure Rust is installed.
- Run
cargo install git-wait.
Usage
git-wait <git args>
The set-it-and-forget-it approach:
# Put this in your shell config.
Timeout can be set by setting GIT_WAIT_TIMEOUT_MS env var. It is in milliseconds.
# 5-second timeout:
Example
When index.lock is present:
<regular