Skip to content

jmhobbs/git-remote-locking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Demo

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 and put in your PATH

Uh, this could just be some shell scripts

Yes. They could just be some shell scripts.