BookmarkSubscribeRSS Feed
wzl9527
Calcite | Level 5

Our company use TortoiseGit to commit program and save program ,but I'm new to TortoiseGit,I know CVS can show program version,Author,date and so on,as picture shows.Can anyone konw TortoiseGit  can do the same thing? 微信截图_20220303173303.png

 

3 REPLIES 3
Sajid01
Meteorite | Level 14

Hello
Please please the mouse pointer on the file whose information you want to select and then select properties.
In the window that opens select Git. You will see relevant git information on the file as can be seen below

Sajid01_0-1647784866861.png

 

wzl9527
Calcite | Level 5
thanks,but if I wanna add these informations to the program header,do you know how I can do ?
Sajid01
Meteorite | Level 14

I am not aware of any method that automatically adds this information to your file either as a header or as a body.
You can however add manually the repository url. 
The commit hash and message change from commit to commit and are displayed after you commit.
You can however access that information using the "git log" command in git-bash or using Tortoisegit or any other GUI.


hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 979 views
  • 0 likes
  • 2 in conversation