Giter Site home page Giter Site logo

git-workflow-warmup's Introduction

git-workflow-warmup v1.2

The point of this exercise is to "git" accustomed to a feature-branching workflow in git.

Getting started

  • Get into the team of 3-4 that your instructor assigned you.
  • In your group, one person needs to make a new repository on their github, and add the other group members as collaborators.
  • While that is happening, someone else needs to create a folder on their machine
    • git init
    • Set up a new remote called 'origin' whose URL points to the repository that was created
    • Create index.html, styles.css, and app.js
    • Once you have permissions to push to the github repo, add, commit, and push.
    • USE GOOD COMMIT MESSAGES

Adding code

  • Each person needs to create a feature branch
    • git checkout -b branchName
    • Give your branches names based on the feature you're working on. It's a bit difficult in this scenario, but keep that in mind when creating branches.
  • Check the requirements below for what each file needs to contain.
  • Your team will split these tasks amongst each other, but files should be edited synchronously.
  • When you have completed your tasks push to your branch.
    • Remember the format for git push commands.
    • git push remote_name branch_name
  • Once you've pushed, create a pull request from your branch into master.
  • Someone else should merge that pull request

Requirements

  • The index.html file should have: a header, an image, an unordered list with 5 items, and three empty divs
  • The javascript file should target the empty divs, and add whatever you want via the DOM
  • The CSS style sheet should style each of these elements that you've created
  • Work together to resolve any merge conflicts. Here's a resource

git-workflow-warmup's People

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.