How can you find out what were the most recent changes in Git repository and who made them?
Experience Level: Junior
Tags: GitSource control
Answer
Run the command line and execute the following command:
git log
The command will show you the list of all commits.
More convenient way to see commit history is to use some Git user interface like TortoiseGit or Git client integrated in Visual Studio or other IDE.
Related Git job interview questions
What is a git commit command?
GitSource control JuniorHow can you identify who changed the specific file under version control and what were the changes?
GitSource control JuniorHow do you get changes from the remote repository to your computer?
GitSource control JuniorWhat is a difference between local and remote repository?
GitSource control JuniorHow do you create local Git repository?
GitSource control Junior