You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a commit on wrong branch, which is rwd-layout,
the right way is, I should create a new branch called "algo-OddEvenSort",
which is based on main branch,
then switch to OddEvenSort branch, code the new feature,
but I forgot, I commit and push to remote on rwd-layout branch,
so now I need to do something to make it back to right way.
now, I create and switch to the algo-OddEvenSort branch,
I try to do cherry-pick command to merge latest node of rwd-layout to
algo-OddEvenSort branch,
then I would try revert rwd-layout branch for restore the impact to
remote origin on GitHub.
OK, let's do this.
Changes to be committed:
modified: index.html
1. add new algorithm , odd-even sorting algorithm
2. add odd-even-sort.js file in bottom of index.html
new file: js/odd_even_sort.js
1. add new odd-even sorting algorithm content
modified: js/test.js
1. add try catch syntax in algoChosen() function
2. add OddEvenSort value
3. add , if algoChosen() error, then window alert pops
up, notices user to press F5 to refresh page.
0 commit comments