Testin' Git with Github:
In Terminal
-
go to folder > cd /Users/WILLPOWERSTUDIOS/Dropbox/Dev/OpenFrameworks/of_v0.9.8_osx_release/apps/myApps/GitTest01
-
touch readme.md > add read me file
-
ls > list of files in folder
-
ls -a > to see all dot files
-
git init > initialize empty git repository
-
to remove a .git > rm -r .git
-
git status > to know what's going on
-
git add -A > to add all files for a commit
-
git status > to see that all files have been added
-
in Github, create new repository
-
git commit -m "Initial Commit" > first commit
-
git remote add origin https://github.com/WillpowerStudios/git-test-01.git > add where to push commit from new repository page
-
git push -u origin master > Push
-
github username
-
github password (the terminal purposely does not show you the letters you type nor indicates that you're typing. Type anyways, without error)
-
Check Github > you will see your initial commit !!
--
-
To Do New Commits !!! > git status
-
We see 'modified:' + 'names of files' in red > git add readme.md ('readme.md' is the file I want to push)
-
git add . > to add file
-
it says 'modified:' + 'name of file' in green > shows that we successfully added the file(s)
-
git commit -m "process of using git with oF" > '-m' is message (useful for noting what changes were made)
-
git push (ALMIGHTY PUSH !)
-
Check github, it's been pushed !! Jaaaa !!!!