Skip to content

WillpowerStudios/git-test-01

Repository files navigation

Testin' Git with Github:

In Terminal

  1. go to folder > cd /Users/WILLPOWERSTUDIOS/Dropbox/Dev/OpenFrameworks/of_v0.9.8_osx_release/apps/myApps/GitTest01

  2. touch readme.md > add read me file

  3. ls > list of files in folder

  4. ls -a > to see all dot files

  5. git init > initialize empty git repository

  6. to remove a .git > rm -r .git

  7. git status > to know what's going on

  8. git add -A > to add all files for a commit

  9. git status > to see that all files have been added

  10. in Github, create new repository

  11. git commit -m "Initial Commit" > first commit

  12. git remote add origin https://github.com/WillpowerStudios/git-test-01.git > add where to push commit from new repository page

  13. git push -u origin master > Push

  14. github username

  15. github password (the terminal purposely does not show you the letters you type nor indicates that you're typing. Type anyways, without error)

  16. Check Github > you will see your initial commit !!

--

  1. To Do New Commits !!! > git status

  2. We see 'modified:' + 'names of files' in red > git add readme.md ('readme.md' is the file I want to push)

  3. git add . > to add file

  4. it says 'modified:' + 'name of file' in green > shows that we successfully added the file(s)

  5. git commit -m "process of using git with oF" > '-m' is message (useful for noting what changes were made)

  6. git push (ALMIGHTY PUSH !)

  7. Check github, it's been pushed !! Jaaaa !!!!

About

Testing Git for oF for the 1st time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published