0% found this document useful (0 votes)
27 views1 page

Git Commands

This document provides commands to initialize a git repository, add all files, commit with a comment, and push changes to the master branch on the origin remote. It also notes that git status can be used to check the state of commits.

Uploaded by

ralston204
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views1 page

Git Commands

This document provides commands to initialize a git repository, add all files, commit with a comment, and push changes to the master branch on the origin remote. It also notes that git status can be used to check the state of commits.

Uploaded by

ralston204
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

cd to directory

git
git
git
git

init
add --all
commit -m "comment"
push origin master

git status - shows state of commits

You might also like