ubuntu git install and tips

# update packages

# install gitolite server

# rename (not necessary) user gitolite3 to git

# clone git admin dir to your home account

# make changes in gitolite.conf — add new repo

# show status

# add files to repo

# commit your changes

# for use simple git push

# push changes to repo

All done, your repo is ready.

Now go to dir with your app.

# initialize dir for git

# add url of «remote» repo

# check it

# commit and push your repo

# clone repo on desktop

Leave a Reply

Your email address will not be published. Required fields are marked *