Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
FreeFoodCalendar @ 118d962
MyMundus-Mobile @ e77797d
Open-Ministry-Mobile @ c8e62fb
Tap-the-Beer @ 2082db9
bar_router @ f3fa75c
gasomob @ 95f9f1d
hungrybunch @ 4427743
team-1 @ 103e18e
team-16 @ 8119b6b
team-17 @ cb0b856
team-2 @ 521afed
team-24 @ abd2ec0
team-4 @ 41fd5b8
team-5 @ 784da06
team-7 @ b318684
team-8 @ 81a9c5e
team-9 @ f936b1a
zouba @ af8beb4
.gitmodules
README.md

README.md

Assignments for Aalto Web Apps course

This repository contains all the assignments repositories as submodules.

Cloning

To clone locally, you must clone the main repository and update the submodules:

git clone git@github.com:aaltowebapps/assignments.git
cd assignments
git submodule init
git submodule update

Updating one submodule for the main repository

The submodules are not automatically update but must be updated manually. First we must go to the submodule to update, pull the new version and commit the main repository:

cd <path to submodule>
git pull origin master
cd ..
git commit -am "Upgrading the submodule xxx"
git push origin 

Updating all the submodules for the main repository

Before updating all the submodules it's better to pull the latest version of the main repository. After that you can update all the submodules and push the changes to the main repository. Here is the sequence of commands:

git pull origin master
git submodule update
git submodule foreach git pull origin master
git commit -am "Update all the submodules"
git push origin master

Adding a submodule

You can add a new submodule to the main repo in the following way:

git submodule add <url to git repor>
git add .
git commit -m "Added a new submodule"

Pulling the submodules updates from the main repository

If you have already cloned the main repository, you can update the submodules to the latest version that is stored in the main repository in the following way (this will not update to the latest versions of the submodules):

git pull origin
git submodule update
Something went wrong with that request. Please try again.