You need to run the following command
Command to start git server (on lan pc)
sudo git daemon --base-path="<path_to_[dot]git_dir>" --listen="<local_lan_ip>" --port="<port>" --export-all
Command to clone from local lan git server
git clone git://<local_lan_ip>:<port>/ <DIR_NAME>
Command to start git server (on lan pc)
sudo git daemon --base-path="<path_to_[dot]git_dir>" --listen="<local_lan_ip>" --port="<port>" --export-all
Command to clone from local lan git server
git clone git://<local_lan_ip>:<port>/ <DIR_NAME>
No comments:
Post a Comment