For this release, I contribute to this issue https://github.com/Seneca-CDOT/telescope/issues/1351. The pull request https://github.com/Seneca-CDOT/telescope/pull/1352
Three results from three files.
Here are the steps I did.
- create a new branch with the issue number.
git checkout -b issue#1351
Then, I set the value of this variable to 5. The coding job is done.
- remove the old
.envfile, and copy the new
cp env.example .env
Then test the code in my local machine. It works, we have 5 posts per page.
When I push the code to the remote
git push origin issue#1351, git gives me a warning
no permission to push. I checked the remote address
git remote -v. I make a mistake and clone the repo from telescope. Now the original address is
If I am not in this class, I will delete everything and clone a new repo from my forked repo
But I am a git master now (Thanks for @humphd), the remote repo is just a name
origin. I can just add another remote with the command
git remote add yzwdroid email@example.com:yzwdroid/telescope.git. Then just push the current branch
$issue1351 to the
yzwdroid remote repo.
git push yzwdroid issue#1351
Then I do the pull request from github.