Skip to content

Instantly share code, notes, and snippets.

Git: Working with Teams

Git is a distributed version control system. Every Git working directory is a full-fledged repository with complete history and full version tracking capabilities, not dependent on network access or a central server.

Getting Started

Creating a repo on your machine

$ git init
@bengolden
bengolden / 0.2.1-boggle_class_from_methods.rb
Last active August 29, 2015 13:56 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1boggle class challenge
class Boggle_board
def initialize(board)
@board = board.clone
end
def create_word(*coords)
coords.map { |coord| @board[coord.first][coord.last]}.join("") # returns a word built from coordinates
end