How to create Personal pages.
git status
git add .
git commit -m “initial commit”
git remote add origin https://github.com/deejayM/djmillward.github.io.git
git push origin master
How to create Site pages
git checkout -b gh-pages
git add .
git commit -m “Initial commit”
git remote add origin https://github.com/realkdaigle/simple-todo.git
git push origin origin gh-pages
How to fix a Bug on .
> In a git repository we’d need to make a ‘Fork’ in the repository
> first get a copy of the fork repository on your local environment.
> git clone REMOTESITEADDRESS
> the cd into the folder that’s just been created.
> git checkout -b fix-treehouse-bug
> now to fix the bug . lets open the file using vim
‘vim start.rb’
> Fix issue
> save file
> ‘git add .’
> Add commit message
> git push origin fix-treehouse-bug’
> Now we’ll need to make that Pull request.
> hit the ‘Compare and Pull Request’ button.
> Dev forks creates a branch and then submits a Pull request.
> include unit tests
No comments:
Post a Comment