Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

CTS2852C - Practice

Git repository for DeAndre Ordonez - Wednesday August 21, 2024 @ 8:23 PM

Table of contents

  1. Setup
  2. Changes
  3. Issues

Setup

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.

Changes

Steps to make changes

In GitHub:

  1. Assign the issue that will be worked on to yourself. See Issues below.
  2. 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):

  1. Navigate to the folder where the local repository was created.
  2. Check that the correct username and email is set using the git config -l command.
  3. Switch to the develop branch and execute a git pull to get the latest code from the remote repository.
  4. Add, modify and/or delete a file(s).
  5. When the changes are complete:
    1. test the changes
    2. add the file(s) to the staging area git add <filename>
    3. commit the changes git commit -m "<commit message>"
    4. push the develop branch to the remote repository git push
  6. 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:

  1. Switch to the main branch. E.g. git checkout main
  2. Merge the develop branch into the main branch. E.g. git merge develop
  3. Push the changes to the remote repository. E.g. git push
  4. Switch to the develop branch. E.g. git checkout develop
  5. On the remote repository the develop branch will be even with the main branch.

Issues

Open an Issue

  1. In the repository, select the Issues link.
  2. Choose New issue.
  3. Enter a unique Title for the issue.
  4. Enter details in the Write tab. Be very specific. See Formatting Syntax for instructions.
  5. Choose Submit new issue.

Assign an Issue

  1. In the repository, select the Issues link.
  2. Select the issue that needs to be assigned.
  3. Choose the Assignees option.
  4. Select your name as the assignee to add to the issue.

Close an Issue

  1. In the repository, select the Issues link.
  2. Select the issue that needs to be closed.
  3. Enter closing details in the Write tab.
  4. Choose Close and comment.

Reopen a Closed an Issue

  1. In the repository, select the Issues link.
  2. Ensure Closed issues are displayed.
  3. Select the issue that needs to be reopened.
  4. Enter reopening details in the Write tab.
  5. Choose Reopen issue.

Filter issues assigned to you

  1. In the repository, select the Issues link.
  2. Choose the Assignee drop down.
  3. Select your username from the list.

See About issues for more help.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages