Giter VIP home page Giter VIP logo

gitruler-a-1's Introduction

GitRuler Section A

This repository is section A of the GitRuler exercises.

If you do not already have a your own repository for these exercises fork this repository. Clone this repository

Configuring Git

To make sure that your are correctly listed as an editor in the history of a file you must configure git on each new machine (or network if your profile follows you around).

  1. Configure git with your correct user.name and user.email. If you are using Github you should use the email address used to set up you Github account which you can find on the GitHub email settings page
  2. Configure git so that when it wants you to enter some text (e.g. for a commit message) it will open an editor that you are able to use (nano is usually a safe bet)

Changing files and committing those changes.

  1. Use a text editor to add Manfred Delmonte to a new line in files/employees.txt and Peaches to a new line in files/products.txt.
  2. Stage the changes that you made to the files. Use the git status command to check that you have staged all of your changes.
  3. Commit your staged changes using the commit message "Add Manfred and Peaches".

Submitting the results

Once the exercise is complete, push this repository to the remote. If there are multiple branches for an exercise, make sure that you push them all.

To ensure that you have you correctly pushed everything that you need to, you could clone the remote repository into a separate folder and re-run gitruler.

Resources

  1. For many of the steps you could use the Git cheat sheet or git - the simple guide to find the correct command.
  2. For setting up your git configuration you can see the "Your Identity" and "Your Editor" sections of the Git Pro Book.
  3. For staging and committing modifications to already tracked files take a look at "Staging Modified Files" and "Committing Your Changes" in [Git Pro Book]https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository). These sections will also explain how to provide commit messages.

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.