github - pisanorg/w GitHub Wiki

GitHub

Some Useful Git commands

Clone a directory

git clone https://github.com/pisan343/factorial

List modified files

git status

List the difference between a current file and the one in the web repository

git diff some-changed-file

Checkout an older version of the repository. Get HASH_NUMBER from web page.

git checkout HASH_NUMBER
⚠️ **GitHub.com Fallback** ⚠️