Lab 5 Blog
For this week. I created a refactoring branch using the command
git branch -b refactoring
Then I added prittier to help take care of code formatting and eslint to take care of styling. Then I tested my code. Then I added the changes using the command
git add <name of files>
Then I commited the changes using the command
git commit -m "added prittier to help take care of code formatting and eslint to take care of styling"
Then I pushed the changes using the command
git push
Then I removed http-server package. Then I tested my code. Then I added the changes using the command
git add <name of files>
Then I commited the changes using the command
git commit -m "removed http server"
Then I pushed the changes using the command
git push
Then I applied prettier formating to all js files. Then I tested my code. Then I added the changes using the command
git add <name of files>
Then I commited the changes using the command
git commit -m "applied prettier formating to all js files"
Then I pushed the changes using the command
git push
Then I removed unused packages. Then I tested my code. Then I added the changes using the command
git add <name of files>
Then I commited the changes using the command
git commit -m "removed unused packages"
Then I pushed the changes using the command
git push
Then I moved inputMD.md from project root. Then I tested my code. Then I added the changes using the command
git add <name of files>
Then I commited the changes using the command
git commit -m "seperated inputMD.md from project root"
Then I pushed the changes using the command
git push
Then I modified the script in the package.js file. Then I tested my code. Then I added the changes using the command
git add <name of files>
Then I commited the changes using the command
git commit -m "modified start script to start with input file"
Then I pushed the changes using the command
git push
I refactor functionality of getting file extension. Then I tested my code. Then I added the changes using the command
git add <name of files>
Then I commited the changes using the command
git commit -m "refactor functionality of getting file extension"
Then I pushed the changes using the command
git push
I moved text.txt from project root into input folder. Then I tested my code. Then I added the changes using the command
git add <name of files>
Then I commited the changes using the command
git commit -m "seperated text.txt from project root"
Then I pushed the changes using the command
git push
I converted all functions to arrow functions. Then I tested my code. Then I added the changes using the command
git add <name of files>
Then I commited the changes using the command
git commit -m "converted all functions to arrow functions"
Then I pushed the changes using the command
git push
I implemented global error handling throwing errors in all sub-modules and catching errors from ssg.js. Then I tested my code. Then I added the changes using the command
git add <name of files>
Then I commited the changes using the command
git commit -m "implemented global error handling"
Then I pushed the changes using the command
git push
I moved all html related functions from ssg into html.js, file operation system related functions from ssg into os.js, and server site generation process related functions from ssg into process.js. Then I tested my code. Then I added the changes using the command
git add <name of files>
Then I commited the changes using the command
git commit -m "moved functions into seperate files"
Then I pushed the changes using the command
git push
I migrated all variables to const. Then I tested my code. Then I added the changes using the command
git add <name of files>
Then I commited the changes using the command
git commit -m "migrated all variables to const"
Then I pushed the changes using the command
git push
Then I did a Interactive Git Rebase to squash all refacter commits using the command
git rebase 6fd957d292c365bf667e7d061ad66eab13d1f68c
Then I did a ammended git commit using the command
git commit --amend -m "refactered all code"
The I switch to my main branch using the command
git checkout main
Then I used the command
git merge
Then I used the command
git push origin main
to push all my changes onto github.
Comments
Post a Comment