Skip to content
Snippets Groups Projects
Commit ac01b3e0 authored by Ned Coltman's avatar Ned Coltman Committed by Ivan Buntic
Browse files

[dunemodule] Update exercise README on how to create a GitLab project.

parent ffc66a93
No related branches found
No related tags found
1 merge request!214[dunemodule] Add global git config arugements
...@@ -84,13 +84,23 @@ cd appl ...@@ -84,13 +84,23 @@ cd appl
* Login with your username and password at https://git.iws.uni-stuttgart.de/ * Login with your username and password at https://git.iws.uni-stuttgart.de/
Note: If you don't have an account create one. We allow anyone to host repositories Note: If you don't have an account create one. We allow anyone to host repositories
on our GitLab instance as long as it is DuMuX related. on our GitLab instance as long as it is DuMuX related. If you created a GitLab account recently or just now, one of
the administrators first has to increase the number of permitted personal projects for your account before you can create
your own project.
* Click the **New project** button * Click the **New project** button.
* Specify your project name and click the **Create project** button * Then choose to **Create blank project**.
* Follow the given instructions for an *existing folder* * Specify your project name, untick the box *Initialize repository with a README* and click the **Create project** button.
* Follow the given instructions for an *existing folder*.
Hint: if you have not done so already, be sure to inform your computer of your git account with the following commands:
```bash
git config --global user.name "FIRST_NAME LAST_NAME"
git config --global user.email "YOUR_EMAIL_ADDRESS"
```
**Important**: Before executing the `git add .` command, you should add your cmake build folder to `.gitignore`. **Important**: Before executing the `git add .` command, you should add your cmake build folder to `.gitignore`.
The easiest way to do so is to copy the `.gitignore` file from the dumux module into your module path. If everything The easiest way to do so is to copy the `.gitignore` file from the dumux module into your module path. If everything
......
...@@ -61,6 +61,8 @@ Configuring and compiling the stack of modules is done via the script `dunecontr ...@@ -61,6 +61,8 @@ Configuring and compiling the stack of modules is done via the script `dunecontr
```bash ```bash
cd my-module-folder cd my-module-folder
git config --global user.name "FIRST_NAME LAST_NAME"
git config --global user.email "YOUR_EMAIL_ADDRESS"
git init --initial-branch=main git init --initial-branch=main
git remote add origin https://git.iws.uni-stuttgart.de/Namespace/my-module.git git remote add origin https://git.iws.uni-stuttgart.de/Namespace/my-module.git
git add . git add .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment