|
|
This wiki is not intended for students. If you are a student, please see:
|
|
This wiki is not intended for students. If you are a student, please see:
|
|
|
|
|
|
|
|
- https://cp.pages.compute.dtu.dk/02002public/index.html
|
|
- https://cp.pages.compute.dtu.dk/02002public/index.html
|
|
|
|
|
|
|
|
## How to clean the commit history
|
|
|
|
|
|
|
|
```plaintext
|
|
|
|
git checkout --orphan tmp_branch
|
|
|
|
git add -A
|
|
|
|
git commit -am "Initial commit"
|
|
|
|
git branch -D master
|
|
|
|
git branch -m master
|
|
|
|
git push -f origin master
|
|
|
|
```
|
|
|
|
|
|
|
|
For this to work you must unprotect the master under settings. |
|
|
|
\ No newline at end of file |