initial commit

This commit is contained in:
2023-11-24 10:15:53 +02:00
commit 7f8afce0aa
2 changed files with 29 additions and 0 deletions

14
README.md Normal file
View File

@@ -0,0 +1,14 @@
# DEMO: Git Conflict
1) Pull the repository
2) Checkout to a feature branch
3) Make changes
4) Checkout to main
5) Checkout to another feature branch
6) Make conflicting changes
7) Merge the changes
8) Checkout to main
9) Checkout to first feature branch
10) Merge the changes
11) Resolve conflict

15
src/calculator.ts Normal file
View File

@@ -0,0 +1,15 @@
function addition(a, b) {
return a + b
}
function substraction(a, b) {
return a - b
}
function multiplication(a, b) {
// TODO: finish multiplication function
}
function division(a, b) {
// TODO: finish division function
}