hub
https://github.com/mislav/hub
Go
A command-line tool that makes git easier to use with GitHub.
Gitlab::ExclusiveLease#try_obtain
Try to obtain the lease. Return lease UUID on success, false if the lease is already taken.
Edit
git clone [email protected]:mislav/hub.git
cd hub
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Gitlab--ExclusiveLease-try_obtain-for-pr
# Commit to gitgit add git commit -m "better docs for Gitlab::ExclusiveLease#try_obtain"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Gitlab--ExclusiveLease-try_obtain-for-pr
hub pull-request
# Celebrate!