mehmetaytacaktan / GitHub-Homework

This repository is the assignment for the Software Engineering course.
0 stars 0 forks source link

GitHub Homework: Understanding GitHub

Introduction

GitHub is a powerful platform for collaboration, code management, and version control. It allows individuals and teams to work on projects together, track changes, and manage their codebase efficiently. This homework assignment aims to provide an overview of GitHub and its key features.

Objectives

Tasks

  1. Sign up for GitHub

    • If you don't have a GitHub account, sign up for one at GitHub.com.
  2. Create a Repository

    • Create a new repository on GitHub.
    • Name it "GitHub Homework".
    • Initialize it with a README file.
  3. Clone Repository

    • Clone the repository to your local machine using the git clone command.
    • Navigate into the repository directory.
  4. Add Files

    • Create a new text file named "homework.txt" in the repository directory.
    • Add some sample text to the file using any text editor.
    • Stage the file for commit using git add.
  5. Commit Changes

    • Commit the changes to the repository using git commit.
    • Provide a meaningful commit message describing your changes.
  6. Push Changes

    • Push the committed changes to the remote repository on GitHub using git push.
  7. Branching

    • Create a new branch named "feature-branch" using git branch.
    • Switch to the new branch using git checkout.
    • Make changes to the "homework.txt" file in this branch.
    • Commit and push the changes to the "feature-branch".
  8. Merge Branch

    • Merge the "feature-branch" into the main branch using a pull request on GitHub.
    • Resolve any conflicts if they arise.
  9. Collaboration

    • Invite a classmate or friend to collaborate on your GitHub repository.
    • Give them appropriate access permissions.
  10. Issue Tracking

    • Create an issue in your repository.
    • Assign the issue to yourself or your collaborator.
    • Add labels and a milestone if applicable.
  11. Project Management

    • Create a project board in your repository.
    • Add columns such as "To Do," "In Progress," and "Done."
    • Move the issue you created earlier through the project board as you work on it.