Commit 191398d1 authored by Sabina Köfler's avatar Sabina Köfler
Browse files

Create git workflow

parent 38a696ac
Pipeline #1087 passed with stage
in 2 minutes and 37 seconds
## check your local working directory for changes
```
git status
```
## if 'nothing to commit, working tree clean' get the changes from remote repository
```
git pull origin master (or main)
```
## if you want to start fresh from the remote repo
```
git reset --hard origin/master (or origin/main)
```
https://stackoverflow.com/a/38784578
## work now! after you have made changes
```
git add [specify filename]
```
or add ALL
```
git add .
```
## work some more! if done
```
git add . (optional)
```
```
git commit -m "Write message"
```
## see the difference you made
```
git diff origin main
```
## send your changes to the remote repository
```
git push
```
## if someone has changed something in the meantime you will get notified
```
git pull
```
then
```
git push
```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment