0% found this document useful (0 votes)
5 views5 pages

Demo Document

Uploaded by

sainandu242
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views5 pages

Demo Document

Uploaded by

sainandu242
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

GIT DEVELOPER TEAM DOCUMENTATION OVERVIEW

This projectSample Project: Simple Webpage

Overview

This project is a simple HTML webpage designed to demonstrate basic Git operations like cloning a
repository, creating branches, making changes, and submitting pull requests.

Repository Setup

Create a GitHub Repository

Go to GitHub and create a new repository named simple-webpage.

Optionally, add a README file and for git commands

Clone the Repository

git clone https:

Clone the repository to your local machine.

Project Structure

Copy code

simple-webpage/

----README.md

----index.html

----docker file

File Contents

README.md

--git commands

Index.html

# Simple Webpage

This project contains a simple HTML webpage for demonstrating basic Git operations.
## Features

- Basic HTML structure

- Example of how to use Git for version control

##index.html

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title> Sample </title>

</head>

<body>

<h1> This is Sample project </h1>

</body>

</html>

Instructions

1. Clone the Repository

Copy code

git clone http

Clone the repository to your local machine.

2. Navigate to the Project Directory

cd simple-webpage

Change to the project directory.


3. Create a New Branch

git checkout -b master(branch)

push the code in master-branch

4. Stage the Changes

--git add index.html

Stage the changes made to index.html.

5. Commit the Changes

git commit -m "index.html"

Commit the changes with a descriptive message.

6. Creating connection between local and remote repository

git remote add origin https:/

7. Push the Changes to the Remote Repository

git push origin master(branch)

Push the master branch...

8. Adding content in ReadMe file

git commands used to push index.html in repository

PROJECT UAT(REPOSITORY)

1. Create a github repository named as Project-UAt

copy link, add Readme file

2. create folder
create a new folder to pull the development files

3. Intialize a git

git init

4. Creating connection between local and remote repository

git remote

5.Pull the development repo URl

git git

6. Push the files in project-UAT repo

git

7. Add content in Readme file

git commands used for Project UAT

PROJECT- PRODUCTION (REPOSITORY)

1. Create a github repository named as Project-UAT

copy link, add Readme file

2. Create folder

create a new folder to pull the development files

3. Intialize a git

git init
4. Creating connection between local and remote repository

git remote

5.Pull the development repo URl

git pull https

6. Push the files in project-UAT repo

git push

7. Add content in Readme file

git commands used for Project production

This creation of a simple project and provides detailed instructions for contributing using Git.

You might also like