Skip to content

singhofen/php-practice-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php Sandbox tutorials

This is a .php Sandbox tutorial. The purpose for this repo is to practice .php coding then once finished with a project uplaod it to github via gitBash CLI.


Gitflow instructions

  1. find or start your local project
  2. right click in folder
  3. select gitbash here
  4. type git init -to initialize repo - unless it already is a repo, then just DL or clone it.
  5. make and/or modify any folders you would like
  6. type git status to see your untracked files in the local repo.
  7. type git add . if you wish to add them all at once to repo then type
  8. OR you can just type the folder name itself example: git add index.html
  9. type git commit -m 'your short message'
  10. create your repo on github
  11. dont put any README.md, gitignore, or Lisence files (you can always add those locally via touch "name of your file")
  12. copy repo url that you are given
  13. type git remote add origin
  14. type git push -u origin master

thats all, you maybe asked to login to github via SSH.


Anyone is welcome to practice their php and gitflow with this repo. simply clone or DL and go to work


Working on cloning repo's using git, gitbash, and github


right click > git BASH HERE > git init (initializes repo in that dir.) > start modifiying changes in your cloned repo > git status to see changes > git add . > git commint -m 'your message' > git push


after this process go to git repo and refresh to see any files/changes you have added to the repo

MIT License

Releases

No releases published

Packages

No packages published

Languages