Git repository for DeAndre Ordonez - Wednesday August 21, 2024 @ 8:23 PM
To setup this remote repository and its associated local repository, follow the Setup Repository instructions for the assessment in D2L Work on the assessment must be suspended until the setup of the repository has been completed by one team member.
Steps to make changes
In GitHub:
- Assign the issue that will be worked on to yourself. See Issues below.
- If no issue exists, open a new issue and assign it to yourself. E.g.
Create site home page(Ensure that the title is unique and succinct. A detailed description of what work is be completed must be entered.)
In Git Bash (Windows) or Terminal (Mac, Linux):
- Navigate to the folder where the local repository was created.
- Check that the correct username and email is set using the
git config -lcommand. - Switch to the develop branch and execute a
git pullto get the latest code from the remote repository. - Add, modify and/or delete a file(s).
- When the changes are complete:
- test the changes
- add the file(s) to the staging area
git add <filename> - commit the changes
git commit -m "<commit message>" - push the develop branch to the remote repository
git push
- Close the issue after all required changes have been committed and pushed to the remote repository.
Repeat these steps each time changes are to be made. NOTE: Ensure that a git pull is regularly executed while checked out on the develop branch to get any changes that have been pushed to the develop branch.
To keep the develop and main branches in sync, complete the following steps in the local repository:
- Switch to the main branch. E.g.
git checkout main - Merge the develop branch into the main branch. E.g.
git merge develop - Push the changes to the remote repository. E.g.
git push - Switch to the develop branch. E.g.
git checkout develop - On the remote repository the develop branch will be even with the main branch.
- In the repository, select the
Issueslink. - Choose
New issue. - Enter a unique
Titlefor the issue. - Enter details in the
Writetab. Be very specific. See Formatting Syntax for instructions. - Choose
Submit new issue.
- In the repository, select the
Issueslink. - Select the issue that needs to be assigned.
- Choose the
Assigneesoption. - Select your name as the assignee to add to the issue.
- In the repository, select the
Issueslink. - Select the issue that needs to be closed.
- Enter closing details in the
Writetab. - Choose
Close and comment.
- In the repository, select the
Issueslink. - Ensure
Closedissues are displayed. - Select the issue that needs to be reopened.
- Enter reopening details in the
Writetab. - Choose
Reopen issue.
- In the repository, select the
Issueslink. - Choose the
Assigneedrop down. - Select your username from the list.
See About issues for more help.