Giter Site home page Giter Site logo

front-end's Introduction

Front-End

Day 1 Installation

  • Clone the repo (without forking)
  • Run npm install in the root directory of the project to install dependecies.
  • Create a new branch for each feature you're working on: git checkout -b <branch-named-after-feature>.
  • Make meaningful/regular commits.

Git flow for start/end of each day:

START of each workday (after Day 1)

  • Open project in VS Code. Your current branch does not matter.
git pull --verbose #will update all local branches from global repo
  • Next, checkout a new feature branch and you're ready for the workday ahead.

END of each workday (including day 1)

  • Begin by pushing your working branch to github:
git add . 
git commit -m "This is a meaningful comment."
git push -u origin <branch-name>
  • Next, checkout the development branch. This branch will always be named <development>:
git checkout development

#was the branch not found? run:
git fetch --all --verbose #downloads all branches (and their contents) from online repo
git checkout development
  • Now, while still on the <development> branch we're going to pull in your feature branch:
git branch #run to ensure you're on <development> branch
git merge <branch-named-after-feature> #merging your feature into development
  • Finally you must push the updated <development> branch on your machine to the online repo for everyone to access.
git status

## if "Your branch is behind 'origin/<some-branch-name>' by x commits, and can be fast-forwarded.":   
git pull --verbose ## equivalent to running git fetch & git merge

## if only "nothing to commit, working tree clean":
git push -u origin development

#This is where merge conflicts will happen. Reach out for help.

Extra Git Reference

| Entering DANGER ZONE |

Merging <development> into <main>

  • Only one person will complete the following to wrap up each day:
git status 

## if "Your branch is behind 'origin/<main>' by x commits, and can be fast-forwarded.":   
git pull --verbose ## equivalent to running git fetch & git merge

##if "nothing to commit, working tree clean":
git push -u origin main

##if "changes not staged for commit":
git add .
git commit -m "meaningful comment."
git status #double check you staged changes
git push -u origin main

front-end's People

Contributors

mattcanavan avatar mmitch2958 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.