README.md 428 Bytes
Newer Older
Philippe Charrière's avatar
🎉  
Philippe Charrière committed
1
2
# hello-world

Philippe Charrière's avatar
📝    
Philippe Charrière committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
## How to re initialize the commits history

First, unprotect the `master` branch, and then type the below commands:

```
# Checkout
git checkout --orphan latest_branch
# Add all the files
git add -A
# Commit the changes
git commit -am "🎉"
# Delete the branch
git branch -D master
# Rename the current branch to master
git branch -m master
# Finally, force update your repository
git push -f origin master
```