Skip to content

juma5917/ADVANCED_PORT_SCANNER

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Task 1: Cloning and Forking

  1. Cloning a Repository:
  1. Forking a Repository:

Task 2: Managing Branches

  1. Creating and Switching Branches:
  • In your local repository, create a new branch.

    git branch feature-update

  • Switch to the newly created branch.

    git checkout feature-update

  1. Making Changes and Committing:
  • Make changes to a file or add a new file.

    touch index.html git add index.html

  • Commit the changes to the branch.

    git commit -m "Adding a new file index.html"

  1. Merging Changes:
  • Switch back to the main branch.

    git checkout main

  • Merge the changes from the feature-update branch into the main branch.

    git merge feature-update

Task 3: Handling Conflicts

  1. Creating Conflicts:
  • In your forked repository, make changes to the same file that you modified in Task 4.

  • Commit the changes.

  1. Resolving Conflicts:
  • Create a new branch to resolve the conflict.

  • Resolve the conflict manually in the file.

  • Commit the changes and merge the branch back into main.

Task 4: GitHub Pages

  1. Enabling GitHub Pages:
  • In your forked repository, create a simple HTML file (e.g., index.html).

  • Enable GitHub Pages for the repository and set the source branch to main.

  1. Accessing the Published Page:

About

Creating a new fork

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 71.6%
  • HTML 28.4%