The document provides commands for using Git, specifically for viewing the history of commits with 'git log'. It also explains how to link a local branch to a remote repository on GitHub using 'git push --set-upstream origin dev2' or 'git push -u origin dev2'.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
36 views3 pages
Git Commands Cheat Sheet
The document provides commands for using Git, specifically for viewing the history of commits with 'git log'. It also explains how to link a local branch to a remote repository on GitHub using 'git push --set-upstream origin dev2' or 'git push -u origin dev2'.