Commands:
git checkout -b dev
git add .
git commit -m "Created Dev Branch"
Created dev branch Created main.ts file and added code. Commands: git add . git commit -m "Added main file with necessary code " git push
Created new branch function/add Commands: git checkout -b function/add
Created new file add.ts and added necessary code Commands: git add . git commit -m "Add function implemented" git push -u origin function/add // Updated Readme git add . git commit -m "Readme updated" git push -u origin function/add
Navigated to dev branch Commands: git checkout dev // updated readme and pushed
Created a new branch Subtract Commands: git checkout -b function/subtract // created subtract.ts and added necessary code and pushed the code git push -u origin function/subtract
Created a new branch Modulus Commands: git checkout -b function/modulus git add . git commit -m "Updated readme" git push
Created new branch Divide Commands: git checkout -b function/divide // added divide.ts with necessary code git add . git commit -m "Divide function added and readme updated" git push -u origin function/divide
Navigated to dev branch Commands: git checkout dev // updated readme and pushed
Created new branch function/multiply
Commands:
git checkout -b function/multiply
// Created multiply.ts and added necessary code
Pushed the changes to github Commands: git add . git commit -m "Multiply function added" git push -u origin function/multiply
Updated readme and pushed Commands: git add . git commit -m "Readme updated" git push