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