Skip to content

Instantly share code, notes, and snippets.

@rizwanreza
Created May 1, 2011 13:32
Show Gist options
  • Save rizwanreza/950502 to your computer and use it in GitHub Desktop.
Save rizwanreza/950502 to your computer and use it in GitHub Desktop.
This is how I test the pull request
Given you're testing this pull request: https://github.com/rails/rails/pull/338
You'll found out that the commit is from 'smartinez87'
[master][~/Projects/rails] git remote add smartinez87 https://github.com/smartinez87/rails.git
[master][~/Projects/rails] git remote show smartinez87
* remote smartinez87
Fetch URL: https://github.com/smartinez87/rails.git
Push URL: https://github.com/smartinez87/rails.git
HEAD branch: master
Remote branches:
1-2-stable new (next fetch will store in remotes/smartinez87)
2-0-stable new (next fetch will store in remotes/smartinez87)
2-1-stable new (next fetch will store in remotes/smartinez87)
2-2-stable new (next fetch will store in remotes/smartinez87)
2-3-stable new (next fetch will store in remotes/smartinez87)
3-0-1-security new (next fetch will store in remotes/smartinez87)
3-0-4-security new (next fetch will store in remotes/smartinez87)
3-0-6 new (next fetch will store in remotes/smartinez87)
3-0-7 new (next fetch will store in remotes/smartinez87)
3-0-stable new (next fetch will store in remotes/smartinez87)
deps_refactor new (next fetch will store in remotes/smartinez87)
doc_obs_array new (next fetch will store in remotes/smartinez87)
encoding new (next fetch will store in remotes/smartinez87)
master new (next fetch will store in remotes/smartinez87)
streaming new (next fetch will store in remotes/smartinez87)
Local refs configured for 'git push':
3-0-stable pushes to 3-0-stable (local out of date)
master pushes to master (local out of date)
[master][~/Projects/rails] git fetch smartinez87
remote: Counting objects: 48, done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 26 (delta 20), reused 1 (delta 0)
Unpacking objects: 100% (26/26), done.
From https://github.com/smartinez87/rails
* [new branch] 1-2-stable -> smartinez87/1-2-stable
* [new branch] 2-0-stable -> smartinez87/2-0-stable
* [new branch] 2-1-stable -> smartinez87/2-1-stable
* [new branch] 2-2-stable -> smartinez87/2-2-stable
* [new branch] 2-3-stable -> smartinez87/2-3-stable
* [new branch] 3-0-1-security -> smartinez87/3-0-1-security
* [new branch] 3-0-4-security -> smartinez87/3-0-4-security
* [new branch] 3-0-6 -> smartinez87/3-0-6
* [new branch] 3-0-7 -> smartinez87/3-0-7
* [new branch] 3-0-stable -> smartinez87/3-0-stable
* [new branch] deps_refactor -> smartinez87/deps_refactor
* [new branch] doc_obs_array -> smartinez87/doc_obs_array
* [new branch] encoding -> smartinez87/encoding
* [new branch] master -> smartinez87/master
* [new branch] streaming -> smartinez87/streaming
[master][~/Projects/rails] git checkout -b 338
[338][~/Projects/rails] git merge 02d85da
Merge made by recursive.
.../abstract/connection_pool.rb | 2 +-
.../abstract/schema_statements.rb | 2 +-
.../connection_adapters/mysql2_adapter.rb | 2 +-
.../connection_adapters/mysql_adapter.rb | 2 +-
.../connection_adapters/postgresql_adapter.rb | 2 +-
.../connection_adapters/sqlite_adapter.rb | 2 +-
activerecord/lib/active_record/reflection.rb | 4 ++--
.../connection_adapters/fake_adapter.rb | 2 +-
activerecord/test/cases/migration_test.rb | 9 ++++-----
9 files changed, 13 insertions(+), 14 deletions(-)
[338][~/Projects/rails]
Now run `rake` to test it :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment