0% found this document useful (0 votes)
25 views

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
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

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
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