Giter VIP home page Giter VIP logo

a0_pull_request's Introduction

Assignment Zero (we're programmers...)

  1. Fork this repository into your own GitHub account.

  2. Clone that forked version to your local machine. Check that the README.md file looks like this file.

  3. Create a new branch to work in. Call it add-my-details.

    git checkout -b add-my-details
    

    (notice the -b flag. It's important. Why?)

  4. Edit the file about.me, replacing my name and ID with yours.

  5. Have a look at the differences between your working copy of the file and the one you started with:

    git diff
    
  6. Commit the changes to your local repository

    git add about.me
    git commit -m 'added my details'
    
  7. Go back to the master branch.

    git checkout master
    
  8. Have a look at about.me. Your changes are gone!

  9. Go back to the branch you did the work in

    git checkout add-my-details
    
  10. Have a look at the file now. You should see the changes you made.

  11. Push the file to your github account:

     git push -u origin add-my-details
    

    The first time you push from a branch, you have to tell git where to put it on the destination repository. origin is the default name for a repository you clone, so this is saying "store it back in the original remote repository in the add-my-defaults branch.

  12. Visit your project on GitHub. Switch to the "add-my-details" branch and generate a pull request. Make sure to include your name and SMU ID in the notes.

a0_pull_request's People

Contributors

pragdave avatar

Watchers

James Cloos 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.