Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux-course
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux-course
Commits
ac01b3e0
Commit
ac01b3e0
authored
1 year ago
by
Ned Coltman
Committed by
Ivan Buntic
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
[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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
exercises/exercise-dunemodule/README.md
+14
-4
14 additions, 4 deletions
exercises/exercise-dunemodule/README.md
slides/dunemodule.md
+2
-0
2 additions, 0 deletions
slides/dunemodule.md
with
16 additions
and
4 deletions
exercises/exercise-dunemodule/README.md
+
14
−
4
View file @
ac01b3e0
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
slides/dunemodule.md
+
2
−
0
View file @
ac01b3e0
...
@@ -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
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment