Current location - Music Encyclopedia - Today in History - How to use pycharm to view file modification records and compare score differences
How to use pycharm to view file modification records and compare score differences
Methods/steps

First, open pycharm and see that the file name is blue, which means that you have modified this file. As long as you touch this file, pycharm thinks you have modified it, whether you have modified it later or not.

Find an icon that looks like a book flip in the toolbar and display it as a comparison with the same repository version.

Click, and then you can see the difference between the current file and the code above git, or the difference between the current file and the code recently pulled down.

So how to view the modification history of this file is very simple. Similarly, there is an icon of a small clock in the toolbar, and no display history is displayed.

Click to view the modification history of this file, including the time, who modified it, and what comments were written when it was modified.

In addition to the above two points, you can also check the differences between files and other branches. Right-click the file and select Compare with Branch.

seven

Select the branch to compare. Are there too many branches here? Alas, agile development, various versions coexist ~

eight

In this way, you can fully grasp the life cycle of the file, and it is much easier to manage the project. QA can also track the code when verifying bugs or new functions.