Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Log of remote history

Tags:

git

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?

like image 401
Gniuz Avatar asked May 01 '13 09:05

Gniuz


People also ask

How do I find remote access logs?

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.

Is there a log file for RDP connections?

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.

What does log in remotely mean?

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.

Where is RDP history stored?

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.


2 Answers

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.

like image 163
Christian Schulzendorff Avatar answered Oct 01 '22 03:10

Christian Schulzendorff


git log origin

This will give you a log of commits on the origin remote.

git-log(1)

like image 25
Zombo Avatar answered Oct 03 '22 03:10

Zombo