Code Monkey home page Code Monkey logo

cmsc320-homework1's Introduction

Homework 1

This homework will help you get familiar with git and github, tools you'll be using later on in this class and your career. At the end of this exercise, you should have created two branches, created a merge conflict, resolved it, and then pushed the results to your github repository.

YOU SHOULD USE YOUR COMMAND LINE. Do not use the website, GUI, or any other Git interface. This is for your benefit!

You can follow the steps below, but please note that a number of them have been deleted, mostly things like when to use "git add" and "git commit". Simply following these steps verbatim will result in your project becoming an intractable mess.

  1. Read this: https://towardsdatascience.com/get-git-a-primer-on-git-aa2cd1d9436f
  2. Create a fork of this repository (there should be a fork button on this page in the upper right).
  3. Create a file called "answers.txt"
  4. In answers.txt, paste the following and answer the question:

What is the difference between a merge and a rebase?

  1. Create a branch called "progress" and switch to it.
  2. Clear the context of "answers.txt"
  3. Paste the following into "answers.txt" and answer the question.

What is a remote repository?

  1. Switch back to "main" and merge the main branch with the progress branch such that both your answers are in order in answers.txt
  2. Submit a link to your github project.

cmsc320-homework1's People

Contributors

satato avatar morawski-umd avatar sysemenova 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.