hamzic2019
8/29/2019 - 8:29 PM

Basic commands for GIT & GitHub

git init

git status

git add [file.ext]    or    git add .

git commit -m 'Here goes commit message'

git log (Here shows all commited chnages)

git diff [file.ext]  (Here shows all made differences in file after change)

git checkout [file.ext] (Here will return file to last commited version)

---------------------------------------------------------------------------

git remote add origin [https:// ... URL]

git push -u origin master

git clone [https:// ... URL]