nus-cs2113-AY2021S2 / forum

5 stars 0 forks source link

Is previous version editable in Sourcetree (Git)? #22

Open NgManSing opened 3 years ago

NgManSing commented 3 years ago

If I have completed programming up to Level-3 (tag) but I found a typo in Level-1 (tag). Is it possible to edit Level-1 (tag)?

okkhoy commented 3 years ago

You don't have to go back to Level-1 and edit. Just edit it in the current version. Should not be a problem.

NgManSing commented 3 years ago

What if I found a bug in my Level-1 but I have already working on Level-3? Is it OK to correct the bug in Level-3 only?

okkhoy commented 3 years ago

I assume you are carrying forward your increments and not doing work for each level independently? In that case, it is fine to fix the bug in Level-3.

NgManSing commented 3 years ago

I made big changes between Level-1 and Level-2. Will it be problematic?

okkhoy commented 3 years ago

Errr.. hard to say without context. Please check with your tutor in the tutorial? In general, you are not expected to remove the previous level when implementing a new level. However, if certain modifications are necessary, they have to be made. (E.g., a hypothetical scenario where you remove printing to terminal and provide saving to file directly; in this case, all the code printing to the terminal should be removed -- in this scenario, it is OK to do so)