$ git init
$ git add .
$ git commit -m "Commit Message"
$ git status
$ git log --oneline
$ git checkout #commitid (fileName) //Revert back to a commit
$ git remote add origin {url}
$ git push -u origin master
$ git reset
$ git checkout -b branchName //Create a new branch
Last active
October 3, 2017 16:58
-
-
Save rbhatia46/b4cc7a7a60f59ab6b47f6c425c033116 to your computer and use it in GitHub Desktop.
Includes Basic Git commands for a beginner
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment