Commit 7d1880129f777e3b36a486fc551525242d1d5f79

Authored by Lars Tiede
1 parent 039733c1

demo text

Showing 1 changed file with 10 additions and 2 deletions   Show diff stats
1 ### This is the parent that uses "git submodule". 1 ### This is the parent that uses "git submodule".
2 2
3 -If you reset your working copy of this repository to the commit right before we added the submodule: 3 +Here's how you can re-trace the demo given at utviklerlunsj.
  4 +
  5 +First, make yourself a directory and clone the repository into it:
  6 +
  7 +```bash
  8 +git clone git@source.uit.no:lars.tiede/lunsjdemo_parent_with_submodule.git .
  9 +```
  10 +
  11 +Now reset your working copy of this repository to the commit right before we added the submodule:
4 12
5 ```bash 13 ```bash
6 git reset --hard 375c69b8e9ffb36b79c0d7cc0121d622c5b169aa 14 git reset --hard 375c69b8e9ffb36b79c0d7cc0121d622c5b169aa
7 ``` 15 ```
8 16
9 -, then this is how you can retrace the demo given at utviklerlunsj: 17 +Okay, now there shouldn't be any my\_lib. Let's add it as a submodule:
10 18
11 ```bash 19 ```bash
12 git submodule add git@source.uit.no:lars.tiede/lunsjdemo_my_lib.git my_lib 20 git submodule add git@source.uit.no:lars.tiede/lunsjdemo_my_lib.git my_lib