I cloned a repo using its GitHub read-only URL onto my team's staging server. I made some changes there to the config files.
I'd like to change the repo clone on the server to be read-write, so that I can 'git push' the config file changes.
How do I do this?
Or is there a better 'best practice' way to deal with this scenario than committing from the staging server?
Cloning a repository syncs it to your local machine. After you clone, you can add and edit files and then push and pull updates. This article refers to the command line.
open up .git/config in your favorite text editor and change the remote url to the read+write url that github shows you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With