Git Product home page Git Product logo

github-playground's Introduction

README for Student Practice Repository


Welcome to the CodeDay Practice Repository!

๐Ÿ“ Overview

This repository is designed for you to practice using GitHub. You will learn how to create repositories, create branches, upload files, commit changes, and raise pull requests (PRs).

๐ŸŒŸ Getting Started

Step 1: Fork this Repository

  1. Click the "Fork" button at the top right corner of this page to create a copy of this repository in your GitHub account.

Step 2: Clone Your Fork

Using GitHub Desktop

  1. Open GitHub Desktop and log in to your account.
  2. Click on "File" > "Clone Repository".
  3. Select the forked repository from your list.
  4. Click "Clone".

Using the Terminal

  1. Clone the forked repository to your local machine using the command:
    git clone https://github.com/your-username/repo-name.git
  2. Navigate into the cloned repository:
    cd repo-name

Step 3: Create a Branch

Using GitHub Desktop

  1. In GitHub Desktop, go to "Branch" > "New Branch".
  2. Name your branch after yourself and click "Create Branch".

Using the Terminal

  1. Create a new branch named after yourself:
    git checkout -b your-name

Step 4: Create Your Team Folder

Using File Explorer/Finder

  1. In your local repository folder, create a new folder named after your team.

Using the Terminal

  1. Inside the repository, create a new folder named after your team:
    mkdir team-name
    cd team-name

Step 5: Add a File

Using File Explorer/Finder

  1. Add a file in your team folder. This could be a text file, image, or any other type of file.
  2. For example, create a text file named hello.txt with the content "Hello, CodeDay!".

Using the Terminal

  1. Add a file in your team folder:
    echo "Hello, CodeDay!" > hello.txt

Step 6: Commit Your Changes

Using GitHub Desktop

  1. In GitHub Desktop, you will see the changes you made.
  2. Write a summary of your changes in the "Summary" box (e.g., "Added hello.txt to team-name folder").
  3. Click "Commit to your-name".

Using the Terminal

  1. Add your changes to the staging area:
    git add .
  2. Commit your changes with a descriptive message:
    git commit -m "Added hello.txt to team-name folder"

Step 7: Push Your Branch

Using GitHub Desktop

  1. Click on "Push origin" to push your branch to your forked repository.

Using the Terminal

  1. Push your branch to your forked repository:
    git push origin your-name

Step 8: Raise a Pull Request (PR)

Using GitHub Website

  1. Go to the original repository on GitHub.
  2. Click on "Compare & pull request" next to your branch name.
  3. Add a title and description for your PR.
  4. Click "Create pull request".

๐ŸŽฏ Tasks to Complete

  • Fork the repository
  • Clone the repository
  • Create a branch named after yourself
  • Create a folder named after your team
  • Add a file to your team folder
  • Commit your changes
  • Push your branch to GitHub
  • Raise a pull request

๐Ÿ† Goals

By completing these tasks, you will:

  • Understand how to navigate and use GitHub.
  • Learn the basics of version control with Git.
  • Practice collaborative coding techniques.

๐Ÿ’ฌ Need Help?

If you have any questions or need assistance, feel free to reach out to your CodeDay mentors or post in the discussion section of this repository.

Happy Coding! ๐Ÿš€


github-playground's People

Contributors

priyanshi-rai avatar himusich avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.