Rules

Secret ingredients to quality software

Edit
Info

Do you know the benefits of using source control?

Last updated by Tiago Araújo [SSW] on 31 Mar 2021 10:02 pm (3 months ago) See History

Source control is the backup of your code, as well as your change history to track changes.

With the source control (we use TFS), we can share project code and cooperate with other team members. Using it allows us to track changes, compare code, and even roll-back if required. Moreover, it keeps our code safe that is the most important.

HistoryWindow
Figure: View the changes in source control on each individual file

HistoryCompareMenu
Figure: We can select different changesets and compare the changes

Compare
Figure: We can select different changesets and compare the changes. Blue = modified, Green = addition, Red = deletion

AnnotateMenu
Figure: Right click file and select Annotate to view the history on a segment basis

Annotate
Figure: Use annotate to understand (or find the guy) to understand his thoughts before deleting/changing someone elses code

AnnotationAndComment
Figure: Annotation is great, but it gets even better when one click gives you the 'check in comment' and the 'work item'

Don't just fix the problem, see who caused the problem and correct them. - Adam Cogan

Using VS Code? There are 2 awesome extensions to see history:

Adam CoganAdam Cogan

We open source. This page is on GitHub