2.3 Show log to view version information
Right-click and click “TortoiseGit -> Show log” .
At this point, you can see the version information of the first upload, including comments and uploaded project folder information.
2.4 Commit upload updated files
If it is a Repo shared by multiple people , you need to perform a Pull operation before committing locally . In any case, it is recommended to develop the habit of Pulling before Committing . The so-called Pull is to synchronize the current files of the Repo to the local, that is, the local files are completely consistent with the Repo , and then we can change the local files and then perform Commit to upload and update.
Select the local working directory repo_test , right-click, and select TortoiseGit à Pull… in the pop-up menu .
The Pull dialog box pops up , click OK .
When finished, click Close as shown .
We create a new test2.txt file in the local working directory repo_test and enter some text.
Execute the "Git Commit..." command in the right-click menu of the local working directory repo_test again . You can see that not all files are displayed at this time, but only the information that the files uploaded in this version are different from the previous version appears. Similarly, you need to check our changed file test2.txt and click OK .
The subsequent operations are the same as the first Commit , and you need to Push it.
After the upload is completed, use "Show Log" to see that the version information of both uploads can be queried.
This content is originally created by EEWORLD forum user ove . If you want to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source