This assignment will incentivize you to get familiar with the different GitHub workflow strategies for:
Using your personal GitHub account create a public, empty GitHub repository called CS471WorkflowsHomeworkAssignment
.
The following options should be disabled/unchecked:
Add a README file
Add .gitignore
Choose a license
Clone this CS471-Assignments-Workflows repository.
$ git clone https://github.com/BoiseState/CS471-Assignments-Workflows.git
$ cd CS471-Assignments-Workflows
The contents of master
branch of the cloned repository (from Step 2
) will be pushed the repository that you created (in Step 1
).
Check the existing origin
remote, which should indicate the URL of the cloned repository:
$ git remote --verbose
origin https://github.com/BoiseState/CS471-Assignments-Workflows.git (fetch)
origin https://github.com/BoiseState/CS471-Assignments-Workflows.git (push)
Remove the origin
remote pointing to the cloned repository:
$ git remote remove origin
Add a new origin
remote that will point to the repository that you created (in Step 1
):
$ git remote add origin https://github.com/<GitHubUsername>/CS471WorkflowsHomeworkAssignment.git
or
$ git remote add origin git@github.com:<GitHubUsername>/CS471WorkflowsHomeworkAssignment.git
$ git remote --verbose
origin https://github.com/<GitHubUsername>/CS471WorkflowsHomeworkAssignment.git (fetch)
origin https://github.com/<GitHubUsername>/CS471WorkflowsHomeworkAssignment.git (push)
or
origin git@github.com:<GitHubUsername>/CS471WorkflowsHomeworkAssignment.git (fetch)
origin git@github.com:<GitHubUsername>/CS471WorkflowsHomeworkAssignment.git (push)
Push the master
branch to your newly create repository (in Step 1
):
$ git push -u origin master
Push all tags to your newly create repository (in Step 1
):
$ git push --tags
In your CS471WorkflowsHomeworkAssignment
repository created in Step 1
, go to Issues
-> New issue
and create one type of each of the six issues (i.e., one user story and five tasks), in the ascending order specified.
NOTE: The GitHub issue templates have already been configured to create these issues with ease.
At the end of this step, you should have the following issues created:
Issue ID | Issue Type | Title |
---|---|---|
#1 |
User Story | Workflow Integrating Strategies |
#2 |
Task | Merge Integration Strategy |
#3 |
Task | Rebase Integration Strategy |
#4 |
Task | Squash with Default Message Integration Strategy |
#5 |
Task | Squash with Traceability to Task and PR in Commit Message Integration Strategy, but with Some Commits in the Branch Referencing the Task |
#6 |
Task | Squash with Traceability to Task and PR in Commit Message Integration Strategy, without Any Commits in the Branch Referencing the Task |
Read and understand the user story #1
, and the tasks #2
, #3
, #4
, #5
and #6
which are all linked to user story #1
.
Install the WorkflowLearning GitHub App:
only on your GitHub account (NOT on other organizations that you may be part of) and (click to see a screenshot)
only on your CS471WorkflowsHomeworkAssignment
repository (NOT on all your repositories) (click to see a screenshot)
Answer the questions in the Canvas assignment.