Jump to content

Git repository on this server

From HW wiki
Revision as of 09:26, 15 July 2008 by Sojka (talk | contribs) (New page: After a repository is created here for you, follow these instructions: * Install Git * Put your sources to our local repository cd your/project git init git add . *...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

After a repository is created here for you, follow these instructions:

cd your/project
git init
git add .
  • Then "connect" your repository to the one on server
git remote add origin sojka@rtime.felk.cvut.cz:/var/git/mirosot.git
git config branch.master.remote origin
git config branch.master.merge=refs/heads/master
  • Push your sources to the server
git push --all