Skip to content
Alexandre Kabla edited this page Feb 25, 2014 · 5 revisions

Repository created on Github

To get a local version of the repository

On computer, create folder Magnets

git init

git remote add origin https://github.com/akabla/Magnets.git

git pull origin master

then should be ready to work on the files.

To add an existing file in the repository:

git add filename

To commit and push changes made

git commit -m "Informative comment" or git commit -a -m "Informative comment"

git push origin master

Using BitBucket

git remote add bitbucket https://akabla@bitbucket.org/teammagnets/magnets.git