Coder Social home page Coder Social logo

git-practice's Introduction

Git Practice

Let's practice Git!

Overview

This repository is designed to help newbies practice using Git and GitHub by creating a simple todo app. Each participant will check out their own branch from the main branch, where they will work on their respective todo app in a directory named after their own name. The directory will also contain READMD.md file to provide some information about themselves. Finally, each participant will add a link to their directory in Contributors section of the root README.md file.

Instructions

Setup

  1. Fork and clone the repository to your local machine:
    git clone https://github.com/[your-github-handle]/git-practice.git
    cd git-practice
    
  2. Check out a new branch from the main branch with your name:
    git checkout -b your-branch-name main
    

Development

  1. Inside the repository, create a new directory with your name:
    mkdir your-name
    cd your-name
    
  2. Create an README.md file in the directory and provide some information about yourself.
  3. Develop your todo app in todo directory using any technology or framework you prefer.

Committing Changes

  1. Branch off your-branch-name for any features you would like to implement:
    git checkout -b your-branch-name-feature-name your-branch-name
    
  2. Once you have made progress on your todo app, add your changes to the staging area:
    git add .
    
  3. Commit your changes with a meaningful commit message:
    git commit -m "Add feature name"
    

Pushing Changes and Creating a Pull Request

  1. Push your branch to the remote repository:
    git push origin your-branch-name-feature-name
    
  2. Visit the original repository on GitHub and create a pull request to merge your changes into the your-branch-name branch.

Request Reviews

  1. Request at least 1 colleague's review.
  2. Once the PR is approved by addressing reviewers feedback, merge the PR.

Updating Your Branch with Latest Changes

  1. Checkout your-branch-name and pull the latest changes:
    git checkout your-branch-name
    git pull origin your-branch-name
    

Iteration

  1. Iterate 6 - 13 till you implement all features.
  2. The same way, add README.md about yourself in your-name directory.

Add a Link to Directory

  1. Open the README.md file and add a link to your-name directory under the "Contributors" section.

Open a PR for all of your work

  1. Push your-branch-name to the remote repository.
  2. Open a PR against the main and request the review to the admin

Congrats

  1. The admin will review the PR and say Congrats if everything looks good.

Contributors

git-practice's People

Contributors

tedzchow avatar shinevue avatar goldapple911 avatar whitecollin avatar

Stargazers

yuuki avatar  avatar

Watchers

 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.