Giter Club home page Giter Club logo

geckos-team-14's Introduction

Waffle.io - Issues in progress

Geckos-Team-14

NPMInstallBeer | Chingu Voyage-6 | https://chingu.io/

Git workflow

This git work flow is based on the wonderful Medium guides on how to not f- up your local files.

Master Branch

This is the production branch and code will only be pushed to this branch once it has been tested and reviewed.

Development Branch

This is the primary development branch. All pull requests will be sent to this branch where they will be reviewed before being merged.

In order to start working you will clone the repo https://github.com/chingu-voyage6/Geckos-Team-14.git. The dev branch has been set to the default so you should have to switch to the dev branch. But if you do you can use type $ git checkout dev.

All coding should be done on individual branches. Type $ git checkout -b myNewBranch to create a new branch. Typing git branch will confirm that you have been successfully switched to your working branch.

Naming branches

When naming branches, we want to follow this format: Type/short description. There are 4 basic types of branches we'll be using during development; the bug fix, new feature, code refactoring, and design/CSS styling.

Examples are below:

  • "bug/fixed-all-caps"
  • "feature/giant-duck-modal"
  • "refactor/add-prop-types"
  • "style/everything-is-black"
  • "documentation/made-change-to-readme"

$ git checkout -b style/pink-buttons Is pretty descriptive and let's your team mates know what you are working on.

Accidently started development on the dev branch!

There are two ways to fix this if you accidently started coding on the dev branch. The first one is to be used if you haven't commited anything. Just use $ git stash which will store your changes somewhere (most likely the void) and removes them from the dev branch. Then just type the commands below to put your changes into a new branch.

$ git checkout -b feature/rubber-duck-cta

$ git stash pop

Beware! If you use $git stash a second time it will delete your previous stash.

The second way is to be used if you ** already made some commits**.

The command $ git push origin development:fix/your-smart-fix will save the code into a newly created branch called fix/your-smart-fix. You will then have to delete the development branch using the commands below.

'$ git checkout master $ git branch -D development $ git fetch $ git checkout development // optional, just to see that it's clean $ git checkout fix/your-smart-fix`

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.