I have been asked to make a log of all the pushes made to a remote repository during a working day to display along side our build information. I am having trouble getting the necessary information for the remote repository.
I can get the info in relation to my local version of the repository with "$git log", and I have come close with the command "$git reflog show origin/master" on the remote but the main problem here is that it shows no details.
My remote repository is hosted on BitBucket. I am trying to get the list of files that have been pushed and the commit message associated with that push, across the whole day. Is this possible?
Every time a user successfully connects remotely, an event log will be recorded in the Event Viewer. To view this remote desktop activity log, go to the Event Viewer. Under Applications and Services Logs -> Microsoft -> Windows -> Terminal-Services-RemoteConnectionManager > Operational.
Outgoing RDP Connection Logs in Windows You can also view outgoing RDP connection logs on the client side. They are available in the following event log: Application and Services Logs -> Microsoft -> Windows -> TerminalServices-ClientActiveXCore -> Microsoft-Windows-TerminalServices-RDPClient -> Operational.
Remote access, also known as remote login, is the ability to access the data stored on a computer from a remote location. It enables you to open, edit, and save files located on your device from anywhere in the world. This ability is handy for offsite workers, travelers, and those who work out of office.
You can find information about RDP connection history in Event Viewer logs: Security; Applications and Services Logs -> Microsoft -> Windows -> TerminalServices-RemoteConnectionManager -> Operational; TerminalServices-LocalSessionManager -> Admin.
You have first to fetch the remote branch into your local remotes/origin. Then you can log this. For instance, if you are working on branch master:
git fetch
git log FETCH_HEAD
This will now show you the log from remotes/origin/master on your local machine.
git log origin
This will give you a log of commits on the origin
remote.
git-log(1)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With