I want to use my own server (i.e. 127.0.0.1) when I use the push command. How can I set up my own server?
I'm using MacOS X.
You don't need a server to push to a local repository. You can just use a local file url as indicated in the git-push manual:
For local repositories, also supported by git natively, the following syntaxes may be used:
- /path/to/repo.git/
- file:///path/to/repo.git/
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