Created
April 27, 2024 20:23
-
-
Save LucK1Y/78e228401475c042f786550c352307d4 to your computer and use it in GitHub Desktop.
Disabling Remote Push but not fetch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# checking remotes | |
git remote -v | |
# disabling remote for push | |
git remote set-url --push <remote_name> no_push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment