Git_Basic
Git_Basic
advertisement
git log - View commit history. Tutorial
The 'git log' command is used to view the commit history of a Git repository. It displays a chronological
list of commits made to the repository, showing details such as the commit hash, author, date, and
commit message, which helps developers track changes and understand the evolution of the project.
Copy
Basic Log
git log
One-line Log
git log --oneline
Log by Author
git log --author='Author Name'
git push - Update remote refs along with associated objects. Tutorial
The 'git push' command is used to upload local repository content to a remote repository. This
command updates the remote refs with the local commits, effectively sharing changes made by the
developer with the rest of the team. It is essential for collaboration, as it allows all contributors to
access the latest changes in the project.
Copy
Push to Default Remote Branch
git push