Make git remote read-only


/ Published in: Bash
Save to your folder(s)

how to make the Git remote repository read-only by configuring a non-functional push URL


Copy this code and paste it in your HTML
  1. git config remote.thatScaryReadOnlyRepositoryName.pushurl "DO NOT STIR THAT REPO UP"

Report this snippet


Comments


You need to login to view comments.