https://github.com/jmhobbs/git-remote-locking
Git subcommands to lock/unlock push URL's for remotes
https://github.com/jmhobbs/git-remote-locking
development-tools git
Last synced: about 1 month ago
JSON representation
Git subcommands to lock/unlock push URL's for remotes
- Host: GitHub
- URL: https://github.com/jmhobbs/git-remote-locking
- Owner: jmhobbs
- Created: 2017-09-19T19:11:00.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-23T04:47:45.000Z (almost 9 years ago)
- Last Synced: 2025-10-03T23:47:32.462Z (9 months ago)
- Topics: development-tools, git
- Language: Go
- Size: 2.93 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Easily lock and and unlock the pushurl for a remote
Don't want to accidentally push to your upstream? Lock it.
```
fatal: 'no_push' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
```

# Installation
### Option 1
Clone the repo and run `make install`
### Option 2
`go get -u github.com/jmhobbs/git-remote-locking/...` (no man files)
### Option 3
Download from [releases](https://github.com/jmhobbs/git-remote-locking/releases) and put in your PATH
# Uh, this could just be some shell scripts
Yes. They could just be some shell scripts.