intro git demo
intro git demo Dsci 310 git demo
-
'git clone ': takes what's on github and does a one time download to your computer
-
'git add ': add the s to the staging area
-
'git commit': create the commit (aka snapshot)
-
'git commit -m "MESSAGE"': create the git message directly in the command line
-
'git push ': take local commits on '' ,, and pull it to ''
-
e.g. , 'git pull origin main'
-
'git push origin main' (e.g try running) git hub refresh
-
git hub push and git hub pull using origin main
-
git commit and git ignore demo