git - Create local repository on bitbucket and allow access to team -


i want create repository on local system , use server. don't want save files on git/bitbucket server. have checked possible in free account of bitbucket not find tutorial specific requirement. checked this url not understand how add ip address of mac. can please me example?

bitbucket remote server host code. since don't want use remote server, you're using git. not bitbucket.

the ip address of mac other team members need sync repository. need ssh access mac.

when you're setting up, since on local machine, never need ssh. anywhere see ssh, replace local path of bare .git repository. example, might create repository this:

git init --bare /opt/git/example.git 

when push repository, this:

mkdir gitexample cd gitexample git init touch readme git add readme git commit -m 'first commit' git remote add origin /opt/git/example.git git push origin master  

when other users push/pull repository, need use ssh mac's ip address in example linked (and need on same network).


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -