Skip to content

Commit 14b4805

Browse files
authored
Update index.html
1 parent 07d2eae commit 14b4805

File tree

1 file changed

+38
-26
lines changed

1 file changed

+38
-26
lines changed

index.html

Lines changed: 38 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,42 @@
1-
21
<!DOCTYPE html>
3-
<html>
4-
<head>
5-
<title>My Web Page</title>
2+
<html lang="en">
3+
<head>
64
<meta charset="UTF-8">
7-
<link rel="stylesheet" href="styles.css">
8-
9-
</head>
10-
<body>
11-
<h1>GitHub Basics</h1>
12-
<p>GitHub is a platform that allows developers to collaborate on projects, manage code, and track changes. It uses Git, a version control system, to track code changes and facilitate collaboration. Below are the key concepts and features of GitHub.</p>
13-
<h2>1. Repositories</h2>
14-
<p>A repository, or repo, is a storage space for your project. It contains all the project files and the history of changes made to those files. Repositories can be public (open to everyone) or private (restricted access).
15-
</p>
16-
<h2>2. Branches</h2>
17-
<p>Branches are used to develop features, fix bugs, or experiment with new ideas in isolation from the main project. The default branch is usually called "main" or "master." You can create new branches to work on separate tasks and then merge them back into the main branch once they're complete.
18-
</p>
19-
<h2>3. Commits
20-
</h2>
21-
<p>A commit is a snapshot of the project's files at a specific point in time. It includes a message describing the changes made. Commits help track the history of changes and understand the evolution of the project.
22-
</p>
23-
<h2>4. Pull Requests</h2>
24-
<p>Pull requests are used to propose changes to a repository. They allow you to discuss changes with collaborators, review code, and ensure that the proposed changes are tested before being merged into the main branch. Pull requests are essential for collaborative workflows.
25-
</p>
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Creating a Repository on GitHub</title>
7+
<meta name="keywords" content="GitHub, repository, version control">
8+
<link rel="icon" href="" type="image/x-icon">
9+
10+
</head>
11+
<body>
12+
<h1>Creating a Repository on GitHub</h1>
13+
<p>Creating a repository on GitHub is a straightforward process that allows you to start managing your project's code and collaborate with others. Here’s a step-by-step guide to creating a new repository on GitHub:</p>
14+
15+
<h2>1. Sign In to GitHub</h2>
16+
<p>First, sign in to your GitHub account. If you don’t have an account, you’ll need to create one by visiting GitHub and signing up.</p>
17+
18+
<h2>2. Navigate to New Repository</h2>
19+
<p>Once signed in, you can create a new repository by:</p>
20+
<p>Clicking on the <strong>+</strong> icon in the top right corner of the GitHub interface.</p>
21+
<p>Selecting New repository from the dropdown menu.</p>
22+
23+
<h2>3. Repository Details</h2>
24+
<p>On the new repository page, you will need to provide some details:</p>
25+
<p><strong>Repository Name: Choose a unique name for your repository. The name should be descriptive and relevant to the project.</p>
26+
<p><strong>Description : Provide a brief description of your project. This is optional but recommended for clarity.</p>
27+
<p>Public/Private: Decide whether your repository will be public (visible to everyone) or private (only you and selected collaborators can view it).</p>
28+
29+
<h2>4. Initialize Repository</h2>
30+
<p>You have a few optional settings to initialize your repository:</p>
31+
<p>Add a README file: This is a markdown file where you can describe your project, its purpose, and how to use it. It’s a good practice to include a README.</p>
32+
<p>Add .gitignore: A .gitignore file specifies which files and directories to ignore in your repository. You can choose a template suitable for your project type (e.g., Python, Node).</p>
33+
<p>Choose a license: Adding a license determines how others can use, modify, and distribute your project. GitHub provides several common open-source licenses to choose from.</p>
34+
35+
<h2>5. Create Repository</h2>
36+
<p>After filling out the necessary details, click the Create repository button. Your new repository is now created, and you can start adding code to it.</p>
37+
2638
<h2>Summary</h2>
27-
<p>GitHub is an essential tool for modern software development, providing version control, collaboration features, and project management tools. Understanding its basic concepts and features can significantly enhance your ability to work on both individual and team projects.
28-
</p>
29-
</body>
39+
<p>Creating a repository on GitHub is the first step in managing your project's source code and collaborating with others. By following these steps, you can set up a new repository and begin organizing your project effectively.</p>
40+
</body>
3041
</html>
42+

0 commit comments

Comments
 (0)