Giter VIP home page Giter VIP logo

scratch's Introduction

Scratch Repository

This repository is mainly for use by people learning how to use Gerrit and contribute to Go.

Click here for a tutorial on how to get started with a contribution to this repository.

A fuller, text-based tutorial based around the core Go project can be found here.

What should I add?

Add a folder with your username, and put a main function in there. You can put whatever you want in your main function; see the existing directories for examples.

All files should have the standard licensing header, and add appropriate documentation see the other files in this repository for an example.

Notes about Gerrit

If you have needed to change a Github pull request, you probably just added a second commit with the requested changes and pushed it. By contrast, all changes opened in Gerrit are a single commit, which means you need to amend your commit if the reviewer requests feedback.

To amend a previous commit, run git add (list of files you changed) to add your changes, then run git commit --amend to amend the commit to add new data. Your commit message should still summarize the entire commit ("Add kevinburke/main.go"), not just the change a reviewer asked for ("Fix typo").

After you amend the commit, re-run git codereview mail to push that change to the server. Then in the Gerrit UI, find the in-line comments left by your reviewer, click "Done", go back to the main PR page, and click "Reply" => "Send" to tell your reviewer that you've addressed your feedback.

Once you get a "Code-Review: +2" from a Go contributor, your change will be merged!

Need help?

Gerrit is not easy to get started with, and we want to help you out. If you are having trouble with Gerrit, contact the golang-devexp mailing list for help!

scratch's People

Contributors

rsc avatar andybons avatar mabu avatar akarki15 avatar apai05 avatar chimeracoder avatar seubert avatar aschlesener avatar andrew-patzer avatar andrestc avatar audreylim avatar austinjalexander avatar grantseltzer avatar avelino avatar merovius avatar blainsmith avatar bschoch avatar btracey avatar briandowns avatar tripledogdare avatar calvn avatar carlisia avatar cassandraoid avatar broady avatar csduarte avatar codyoss avatar connor-mcguinness avatar drichelson avatar danicat avatar draina avatar

Watchers

James Cloos avatar Sam Saccone avatar  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.