Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gift

notatestuser28.9kMIT0.10.2

a Git wrapper library

git, cli, wrapper

readme

Gift

A simple Node.js wrapper for the Git CLI. The API is based on Grit.

Tested in all stable versions of node.

Build Status Dependency Status devDependency Status

Table of Contents

Installation

This fork is now in the npm package repository. Install it like you would any other package:

$ npm install gift

API

For existing repositories:

git  = require 'gift'

repo = git "path/to/repo"
# => #<Repo>

Initialize a new repository:

git = require 'gift'

git.init "path/to/repo", (err, _repo) ->
  repo = _repo
  # => #<Repo>

Initialize a new bare repository:

git = require 'gift'

git.init "path/to/bare/repo", true, (err, _repo) ->
  repo = _repo
  # => #<Repo>

Clone a repository:

git = require 'gift'

git.clone "git@host:path/to/remote/repo.git", "path/to/local/clone/repo", depth, branch, (err, _repo) ->
  repo = _repo
  # => #<Repo>

Repo

Repo#path

String - The path to the repository.

Repo#commits([treeish, [limit, [skip, ]]]callback)

Get a list of commits.

  • treeish - String (optional).
  • limit - Integer (optional).
  • skip - Integer (optional).
  • callback - Function which receives (err, commits), where commits is
             an `Array` of `Commit`s.

Get the 10 most recent commits to master.

repo.commits (err, commits) ->

Or to a different tag or branch.

repo.commits "v0.0.3", (err, commits) ->

Limit the maximum number of commits returned (by default limit is 10).

repo.commits "master", 30, (err, commits) ->

Skip some (for pagination):

repo.commits "master", 30, 30, (err, commits) ->

Or get an unlimited number of commits (there could be a lot):

repo.commits "master", -1, (err, commits) ->

Repo#current_commit(callback)

Get the current commit.

The callback receives (err, commit).

Repo#tree([treeish]) => Tree

The Tree object for the treeish (which defaults to "master").

repo.tree().contents (err, children) ->
  for child in children
    console.log child.name

Repo#diff(commitA, commitB, [paths, ]callback)

Get the difference between the trees.

The callback receives (err, diffs).

Repo#identity(callback)

Get the commit identity for this repository.

The callback receives (err, actor), where actor is an Actor.

Repo#identify(actor, callback)

Set your account's default identity for commits to this repository.

The callback receives (err).

Repo#remotes(callback)

Get the repository's remotes.

Receives (err, remotes), where each remote is a Ref.

Repo#remote_list(callback)

Get a list of the repository's remote names.

Get the string names of each of the remotes.

Repo#remote_add(name, url, callback)

Equivalent to git remote add <name> <url>.

Repo#remote_remove(name, callback)

Remove a remote.

Repo#remote_add_url(name, url, callback)

Equivalent to git remote set-url --add <name> <url>.

Repo#remote_set_url(name, url, callback)

Equivalent to git remote set-url <name> <url>.

Repo#remote_delete_url(name, url, callback)

Equivalent to git remote set-url --delete <name> <url>.

Repo#remote_fetch(name, [options, ]callback)

git fetch <name>

Repo#remote_push(name, [branch, options, ]callback)

git push <name>

with branch parameter specified: git push <name> <branch>

Repo#status([options, ]callback)

Uses --porcelain to parse repository status in a way that is agnostic of system language. options is a string of any other options you'd like to pass to the status command. For example, the -u option will list each file in an untracked directory rather than simply listing the directory itself. The callback receives (err, status). See below for a definition of what status is.

Repo#ls_files([files, ]options, callback)

List out the files in the index and working tree. Optionally filtered by a given array of files (paths or filenames).

Repo#config(callback)

git config parsed as a simple, one-level object. The callback receives (err, config).

Repo#branches(callback)

callback receives (err, heads).

Repo#branch([branch, ]callback)

Get a branch.

  • branch - The name of the branch to get. Defaults to the
             currently checked out branch.
  • callback - Receives (err, head).

Repo#create_branch(name, callback)

Create a new branch with name, and call the callback when complete with an error, if one occurred.

Repo#delete_branch(delete, force, callback)

Delete the branch name, and call the callback with an error, if one occurred.

Repo#merge(name, [options, ]callback)

git merge <name>

Repo#tags(callback)

Get a list of Tags.

Repo#create_tag(name, [options, ]callback)

Create a tab with the given name.

Repo#delete_tag(name, callback)

Delete the tag with the given name.

Repo#commit(message, [options, ]callback)

Commit some changes.

  • message - String
  • options -
    • all - Boolean
    • amend - Boolean
    • author - String that must match "Au thor Author author@nowhere.org"
  • callback - Receives (err).

Repo#add(files, callback)

git add <files>

Repo#remove(files, callback)

git rm <files>

Repo#checkout(treeish, [options], callback)

git checkout <treeish>

Checkout a branch/commit/...

  • treeish - Branch or treeish to checkout.
  • options -
    • b - Boolean to create a new branch
  • callback - Receives (err).

Repo#checkoutFile([files, options, ]callback)

Checkout some files.

  • files - File(s) to checkout. Pass '.' or nothing to checkout all files.
  • options -
    • force - Boolean
  • callback - Receives (err).

Repo#pull([[remote, ]branch, ]callback)

Pull a branch from remote.

  • remote - String (defaults to origin).
  • branch - String (defaults to master).
  • callback - Receives (err).

Repo#sync([[remote, ]branch, ]callback)

Sync the current branch with the remote, keeping all local changes intact.

The following steps are carried out: stash, pull, push, stash pop. If there were no changes to stash, the last stash pop is not executed.

  • remote - String (defaults to origin).
  • branch - String (defaults to master).
  • callback - Receives (err).

Repo#reset([treeish, options, ]callback)

Checkout files.

  • treeish - The git object to reset to. Defaults to HEAD.
  • options -
    • soft - Boolean
    • mixed - Boolean default
    • hard - Boolean
    • merge - Boolean
    • keep - Boolean
  • callback - Receives (err).

Commit

Commit#id

String - The commit's SHA.

Commit#parents

Commit[]

Commit#tree()

Tree - The commit's content tree.

Commit#author

Actor

Commit#authored_date

Date

Commit#committer

Actor

Commit#committed_date

Date

Commit#message

String

Commit#describe([refs, [first_parent, ]]callback)

  • refs - String (all, tags, or null for default of unannotated tags).
  • first_parent - Boolean (follow lineage or include all ancestry).
  • callback - (err, description) (description is String).

Head#name

String

Head#commit

Commit

Tag

Tag#name

String

Tag#commit

Commit

Tag#message(callback)

The callback receives (err, message) (message is a String).

Tag#tagger(callback)

The callback receives (err, actor).

Tag#tag_date(callback)

The callback receives (err, date).

Config

Config#items

Object - The keys are dotted precisely as the console output from git config. E.g., {'user.name': 'John Doe'}

Status

Status#clean

Boolean

Status#files

Object - The keys are files, the values objects indicating whether or not the file is staged, tracked, etc.

Each file has the following properties:

  • type which translates to:
type index working tree
A added -
M modified -
D deleted -
AM added modified
MM modified modified
AD staged deleted
MD modified deleted
  • staged - Boolean
  • tracked - Boolean

Actor

Actor#name

String

Actor#email

String

Actor#hash

String - The MD5 hash of the actor's email. Useful for displaying Gravatar avatars.

Tree

Tree#id

String - SHA1

Tree#contents(callback)

  • callback - Receives (err, children).
  • children - An array of Blobs, Trees, and Submodules.

Tree#blobs(callback)

  • callback - Receives (err, child_blobs).
  • children - [Blob]

Tree#trees(callback)

  • callback - Receives (err, child_trees).
  • children - [Tree]

Tree#find(directory, callback)

  • directory - String
  • callback - Receives (err, thing).

Blob

Blob#id

String - SHA1

Blob#mode

String

Blob#data(callback)

  • callback - (err, data)

Warning: this method only returns the complete file up to 200k, which is the default buffer size for running child_process.exec(). If the file you're reading is bigger than that, or if you're not sure, you need to use dataStream()

Blob#dataStream()

  • returns - [dataStream, errorStream]

Returns streams for you to use to get the data.

Usage:

data = ""
[dataStream, _] = blob.dataStream()
dataStream.on 'data', (buf) ->
  data += buf.toString()
.on 'end', ->
  callback(data)

Submodule

Submodule#id

String

Submodule#name

String

Submodule#mode

String

Submodule#url(callback)

Get the url the submodule points to.

License

See LICENSE.

changelog

Change Log

v0.10.2 (2018/01/22 16:01 +00:00)

  • d42dc58 Upgrade npm package dependencies (#100) (@PeterDaveHello)
  • 34f338c travis.yml: removed legacy nodes (@notatestuser)
  • ec03a91 package.json: bumped required node version (@notatestuser)
  • 3f18c3d Update readme (#101) (@PeterDaveHello)
  • bff9d42 Fixed shell expansion/word splitting and injection vulns (@notatestuser)
  • 6649250 Added package-lock.json (@notatestuser)
  • 1eb7372 Applied tweaks from #38 (@notatestuser)
  • 3baa70b Version 0.10.2 (@notatestuser)

v0.10.1 (2017/11/06 13:06 +00:00)

  • b609d3d Add force delete (#97) (@jmcgill)
  • a301b45 Update Travis CI configuration (@PeterDaveHello)
  • #99 Merge pull request #99 from PeterDaveHello/update-travis-ci-config (@PeterDaveHello)
  • 20ee383 Use regex to improve commit id/hash test, cc #96 (@PeterDaveHello)
  • #98 Merge pull request #98 from PeterDaveHello/valid-commit-id (@PeterDaveHello)
  • ecbc4e7 Version 0.10.1 (@notatestuser)

v0.10.0 (2016/11/13 16:14 +00:00)

  • 63aac64 docs: the options arg in ls_files is not optional for now (@notatestuser)
  • 0c39473 docs: added Repo#ls_files (@notatestuser)
  • 155c6f7 src/repo: fixed single argument form of ls_files (@notatestuser)
  • 76002ca support shallow clone a repo on a specific branch. (#91) (@sparkleholic)
  • 980ddcb Merge branch 'master' into develop (@notatestuser)
  • ca8c35b Version 0.10.0 (@notatestuser)

v0.9.0 (2016/07/06 06:58 +00:00)

  • cced205 Add support to describe a commit (#88) (@cjbarth)
  • 25af97c readme: s/description/describe/ (@notatestuser)
  • 951ba4c Support file arguments for ls-files (@htanjo)
  • fbc63ff Use arguments.length to support prior calls to ls_files (#83) (@notatestuser)
  • 69e4714 Version 0.9.0 (@notatestuser)

v0.8.0 (2016/05/12 04:23 +00:00)

  • 35e9e60 Update .travis.yml (@PeterDaveHello)
  • #75 Merge pull request #75 from PeterDaveHello/patch-2 (@PeterDaveHello)
  • 28567a2 Add Repo#pull to README (@deployable)
  • #81 Merge pull request #81 from deployable/patch-1 (@deployable)
  • d6ed167 Pass options to git checkout (@asgoth)
  • eaf7a6f Improve tests (@asgoth)
  • 17a234f Update readme (@asgoth)
  • #84 Merge pull request #84 from asgoth/feature/checkout-pass-options (@asgoth)
  • 687feb7 Fix the order of arguments in git.cmd() (#86) (@MartinKolarik)
  • 0a74d63 Merge remote-tracking branch 'ajcrites/remote-options' (@notatestuser)
  • 8b5f91e readme: moved badges around (@notatestuser)
  • 84b3b03 .travis.yml: added node v5.1 build target (@notatestuser)
  • f28673a readme: added a comment about node versions (@notatestuser)
  • 23dd331 Version 0.8.0 (@notatestuser)

v0.7.0 (2015/11/16 11:32 +00:00)

  • 707a54c Added changelog (@notatestuser)
  • bc27a6b update devDependencies, all of them were out of date (@PeterDaveHello)
  • #43 Merge pull request #43 from PeterDaveHello/update_dev_dependencies (@PeterDaveHello)
  • caddd22 Add a public override for the maxBuffer option (@gtanner)
  • #68 Merge pull request #68 from gtanner/master (@gtanner)
  • 0ad98d0 Update .travis.yml (@PeterDaveHello)
  • d2f131a bump dependencies, npm test passed (@PeterDaveHello)
  • #69 Merge pull request #69 from PeterDaveHello/dependencies (@PeterDaveHello)
  • #70 Merge pull request #70 from PeterDaveHello/patch-2 (@PeterDaveHello)
  • 73376e4 Handle HG:Extra lines in commit parsing (@gtanner)
  • #71 Merge pull request #71 from gtanner/master (@gtanner)
  • e414fc5 Quoted params in clone bash. see #58 (@notatestuser)
  • d099f2f Support git's shallow clone (@PeterDaveHello)
  • ab4de66 Maintaining backward compatibility in clone() signature (@notatestuser)
  • 1d7cf1c Bumped version to 0.7.0 (@notatestuser)

v0.6.1 (2015/07/02 05:46 +00:00)

  • 524383b handle hg converted gpg lines
  • 4072486 Add license attribute (@pdehaan)
  • #64 Merge pull request #64 from pdehaan/patch-1 (@pdehaan)
  • 6958dd5 Removed redundant if guard in hg gpg garbage removal (@notatestuser)
  • 4731bbc Merge branch 'connoropolous-kilnhgcopies-fix' (@notatestuser)
  • f031ce7 Bumped version to 0.6.1 (@notatestuser)

v0.6.0 (2015/04/14 21:21 +00:00)

  • fdc8399 enable specify git binary location along with other options in the constructor
  • 08690db set 'utf8' encoding as default (@BLeQuerrec)
  • dd2ff80 Adjusted maxBuffer sent to exec for large repos (@esatterwhite)
  • c604401 double quotes work better on windows both inside and outside of cygwin (@zippy1981)
  • #60 Merge pull request #60 from zippy1981/quoting (@zippy1981)
  • #57 Merge pull request #57 from serialworm/master (@serialworm)
  • a253157 Merge remote-tracking branch 'BastienLQ/master' (@notatestuser)
  • 61d7452 Bumped version to 0.6.0 (@notatestuser)

v0.5.0 (2014/11/17 20:27 +00:00)

  • c610bc5 Use svg instead of png to get better image quality (@PeterDaveHello)
  • #40 Merge pull request #40 from PeterDaveHello/patch-2 (@PeterDaveHello)
  • da23cc0 add -u flag to list files in untracked directories (@007design)
  • a4f691a add options to status (@007design)
  • 1d4b528 update package devdependencies (@007design)
  • 184a308 update travis.yml to fix build on 0.8 (@007design)
  • 4b7fa3f update npm to 1.4.28 (@007design)
  • 41380b0 bump version file (@007design)
  • 52f70dd Adding support for "remote set-url" (@bpartridge83)
  • 1209a68 Deleting a remote URL (git remote set-url --delete...) (@bpartridge83)
  • 9ba915b Updating README to document new set-url functions (@bpartridge83)
  • #47 Merge pull request #47 from bpartridge83/master (@bpartridge83)
  • a42792c add support for git clean (@esalter)
  • #48 Merge pull request #48 from esalter/master (@esalter)
  • 43e5d51 Newlines or something (@notatestuser)
  • 4c600df Added Repo#remote_set_url (@notatestuser)
  • f28aaa4 update README (@007design)
  • #45 Merge pull request #45 from 007design/master (@007design)
  • 8085451 Removed a console.log (@notatestuser)
  • 93e180f Bumped version to 0.5.0 (@notatestuser)

v0.4.3 (2014/08/29 09:14 +00:00)

  • 6f3c7fe Add missing status.type cases to README (@maschs)
  • b1d4cdf Add repo.checkoutFile (@maschs)
  • cee0e3a Add repo.reset (@maschs)
  • 7e778ec Add fixtures for reset test (@maschs)
  • b936392 Typo (@maschs)
  • cfc8c9c Move fixtures/reset (@maschs)
  • 843be77 Update devDependencies, fix mocha test. (@maschs)
  • 91495b1 Add tests for repo.reset (@maschs)
  • 245011f Fix missing () (@maschs)
  • 84df9b3 Add tests for repo.checkoutFile (@maschs)
  • 0c90e8f Add Repo#reset & Repo#checkoutFile to README (@maschs)
  • 9ba1cd5 :memo: (@maschs)
  • 78948e2 :lipstick: Remove debug code (@maschs)
  • 4a7aa57 Fix deprecated should calls (@maschs)
  • 367b12b Escape whitespaces in pgp signature test (@maschs)
  • 365843e Reinitialize the copied git test repos (@maschs)
  • 7d300d7 Disable node 0.8 on travis (@maschs)
  • e4557ff Remove trailing whitespaces (@maschs)
  • #30 Merge pull request #30 from frk1705/readmeStatus (@frk1705)
  • 3208203 Force updating npm to avoid travis errors (@maschs)
  • f9f3ce4 Replace rimraf with fs-extra (@maschs)
  • e1a8fc6 Cleanup reset fixture (@maschs)
  • 16842b8 Add test to reproduce the error caused by (no branch).
  • d85f686 Fix test: return error when the current branch check out to a commit.
  • #31 Merge pull request #31 from maschs/f-checkoutFiles (@maschs)
  • 06bacc9 Allow options to be specified for fetch, push, and merge operations (@ajcrites)
  • 3186861 add devDependency info in readme (@PeterDaveHello)
  • #35 Merge pull request #35 from PeterDaveHello/patch-1 (@PeterDaveHello)
  • #33 Merge pull request #33 from shaoshing/no-branch (@shaoshing)
  • 6f7a770 Bumped version to 0.4.3 (@notatestuser)

v0.4.2 (2014/06/08 11:26 +00:00)

  • 6bdd9be Bumped version to 0.4.1 (@notatestuser)
  • #21 Merge pull request #21 from Mrono/master (@Mrono)
  • 66865f0 Dropped node 0.4 from travis config (@notatestuser)
  • d209528 Add test cases and fixtures for gpgsig parsing (@Lance0312)
  • 1c19507 Adding branch parameter to repo.remote_push (@pose)
  • #20 Merge pull request #20 from Lance0312/pr (@Lance0312)
  • #28 Merge pull request #28 from pose/push-branch-support (@pose)
  • 3ec8ed9 Bumped version to 0.4.2 (@notatestuser)

v0.4.1 (2014/04/27 19:45 +00:00)

  • 3490c23 Make only files under text/fixtures treated as binary (@Lance0312)
  • d27c138 Add gpgsig parsing support in parse_commits (@Lance0312)
  • 9ab97cc Remove redundant code in parse_commits (@Lance0312)
  • 6817011 Fix unknown property 'first' (@Lance0312)
  • 21f4c6d Make only files under text/fixtures treated as binary (@Lance0312)
  • 6cf8d21 Added strict pull function (@Mrono)
  • deecf9b Added stderr to callback (@Mrono)
  • f526b42 More informative sync error messages
  • 6463c25 Add git rm options (@MoOx)
  • #24 Merge pull request #24 from MoOx/master (@MoOx)
  • 0b202d1 Fixes arguments.slice bug in Repo.diff(). (@diiq)
  • #26 Merge pull request #26 from diiq/fix_diff_slice (@diiq)
  • #22 Merge pull request #22 from Mrono/betterSyncMessages (@Mrono)

v0.4.0 (2014/04/01 16:34 +00:00)

  • 667e3e0 add options to git diff (@iamwilhelm)
  • c8a7add can now parse raw diff format (@iamwilhelm)
  • 9287ab3 removed diff raw parse's debugging line (@iamwilhelm)
  • #13 Merge pull request #13 from cubehero/diff_options (@cubehero)
  • #14 Merge pull request #14 from cubehero/diff_parse_raw (@cubehero)
  • #11 Merge pull request #11 from cubehero/add_id_to_diff (@cubehero)
  • e1e6973 Adding stashing for untracked files (@Mrono)
  • #19 Merge pull request #19 from Mrono/master (@Mrono)
  • a244cba Bumped version to 0.4.0 (@notatestuser)

v0.3.0 (2014/03/08 18:28 +00:00)

  • 06e335a can stream blob data (@iamwilhelm)
  • 4dd101f ignore editor files in gitignore (@iamwilhelm)
  • afd9176 added README explaining blob.dataStream() (@iamwilhelm)
  • 70dd9e2 added sha hash of the files being diff'd to diffs (@iamwilhelm)
  • #7 Merge pull request #7 from cubehero/streaming (@cubehero)
  • dc4341e Bumped version to 0.3.0 (@notatestuser)

v0.2.0 (2014/02/20 20:41 +00:00)

  • 0aff886 Enabled CI testing on node 0.10, 0.11 (@notatestuser)
  • 57b4e4b README: Updated installation stuff (@notatestuser)
  • e37fd24 Added npm search keywords (@notatestuser)
  • aba4c6c Fix default identity of repo tests (@feugy)
  • d6bc3d0 Added current_commit function to repo (@IgorMuzyka)
  • 77f0b30 Added capability to get all commits or do not limit them by giving -1 as limit (@IgorMuzyka)
  • #5 Merge pull request #5 from feugy/master (@feugy)
  • 1ad5cb9 Added description of repo.current_commit and how to get unlimited commits by repo.commits (@IgorMuzyka)
  • 4c1fee0 Added description of repo.current_commit and how to get unlimited commits by repo.commits to README.md (@IgorMuzyka)
  • 02fbc2b Merge branch 'master' of https://github.com/IgorMuzyka/gift (@IgorMuzyka)
  • #6 Merge pull request #6 from IgorMuzyka/master (@IgorMuzyka)
  • 27f669d Edited README (@notatestuser)
  • 86bc9ed Revert "publish sources with NPM" (@notatestuser)
  • 5cc2890 Reverted package scripts (@notatestuser)
  • 6531a0a Bumped version to 0.2.0 (@notatestuser)

v0.1.3 (2014/02/09 23:34 +00:00)

  • 6af7837 Added node 0.8 to .travis.yml (@notatestuser)
  • d0e7e53 Test fix: corrected use of should to assert typeof (@notatestuser)
  • 2379571 Added ls-files method to repo
  • #4 Merge pull request #4 from epmenard/master (@epmenard)
  • 0f75fa9 Temporarily disabled travis testing on node 0.6 due to npm SSL cert issues (@notatestuser)
  • abd70f5 Merge repositories. (@feugy)
  • e340da9 publish sources with NPM (@feugy)
  • f232364 Bumped version to 0.1.3 (@notatestuser)

v0.1.2 (2013/11/19 14:45 +00:00)

  • 2f68a6b Added src, test to .npmignore (@notatestuser)
  • 5b72e19 Bumped version to 0.1.1 (@notatestuser)
  • 9fa08e5 README: Added david-dm badge to indicate freshness of deps (@notatestuser)
  • 63bb761 added a passthrough to the git.coffee script to run raw git commands against a repo (@pauldallen)
  • #3 Merge pull request #3 from pauldallen/patch-1 (@pauldallen)
  • f750e56 Bumped version to 0.1.2 (@notatestuser)

v0.1.0 (2013/10/12 14:12 +00:00)

  • a197fe7 Git.clone() added (@skovalyov)
  • b71c18f Git.init() extended with bare parameter (@skovalyov)
  • 0d951d7 Disable Git.clone() test (@skovalyov)
  • 9ef8c80 Add basic support for reading git config (@drd)
  • 7510aa1 update README (@drd)
  • 4909d83 Config, not Status (@drd)
  • 671d53d Update docs (@drd)
  • 2ce32ba rename values to items (@drd)
  • 3a197a4 Update README.md (@sentientwaffle)
  • ae25cf4 Clone using HTTPS to avoid authentication prompt (@skovalyov)
  • #28 Merge pull request #28 from skovalyov/git-clone-and-init-bare (@skovalyov)
  • b600af2 Merge branch 'master' of github.com:sentientwaffle/gift (@notatestuser)
  • 8d5b306 Updated travis build status badge; it now points to this fork (@notatestuser)
  • #29 Merge pull request #29 from drd/master (@drd)
  • #22 Merge pull request #22 from alexnaspo/master (@alexnaspo)
  • 6dc6ce3 Merge branch 'master' of github.com:sentientwaffle/gift (@notatestuser)
  • b52fcc4 Fix bug in commit by passing in the repo (@beaugunderson)
  • 0b08461 Bumped version to 0.1.0 (@notatestuser)
  • 71fad1e Updated README.md (@notatestuser)

v0.0.6 (2013/07/24 14:04 +00:00)

  • 133f556 change all status messages to arrays (@sentientwaffle)
  • fb44953 Added merge method
  • ba92cfb Merge remote-tracking branch 'gift/master'
  • 248a787 fixed typo
  • 75114c5 dont test node 0.7 with travis (@sentientwaffle)
  • 6b759b7 Merge branch 'master' of github.com:sentientwaffle/gift (@sentientwaffle)
  • #2 Merge pull request #2 from danielmahon/master (@danielmahon)
  • fbb3f39 two bugs: repo#commit's optional options parameter and repo#sync's required branch parameter
  • d419912 repo#sync default
  • #4 Merge pull request #4 from yuest/master (@yuest)
  • 1ed5081 - Repo.commit: send stdout/stderr to callback lile other methods (@feugy)
  • 6fb57d6 - Repo.commit: possibility to specify author (@feugy)
  • 3e966bc Fix ending problems that corruptes the remotes fixture repository (@feugy)
  • 16754a1 Try#2: Fix ending problems that corruptes the remotes fixture repository (@feugy)
  • 3adb046 Merge tries to fix endings (@feugy)
  • bfddb70 Fix commit tree and add test on tree content (@feugy)
  • 157e076 Tree: fix find when searching inside trees. (@feugy)
  • 6045289 Status: take new files in account with type 'N' (@feugy)
  • c20c50b git.refs: ignore error code 1 which means that no refs are available. (@feugy)
  • 5af25bc Use binary encoding for child_process.exec(): it allows to retrieve binary (@feugy)
  • 97042f5 Do compilation after installing (@feugy)
  • 18952cd a remote_name may now be specified as the first argument of a call to sync(); it defaults to 'origin' if not provided - the previous API has been preserved (@notatestuser)
  • d2ccc6e added Repo#remote_push(name, callback) (@notatestuser)
  • 334417e added Repo#remote_remove(name, callback) (@notatestuser)
  • f9abf4b Repo#sync restructured to make sure a 'stash pop' is never attempted if there was nothing to stash in the first place (@notatestuser)
  • c905ba0 improve status parsing (@drevilt)
  • #1 Merge pull request #1 from drevilt/master (@drevilt)
  • bc3f389 fix unittests (@drevilt)
  • 9297268 [test fix] pass a properly formed octal to fs.mkdir (@notatestuser)
  • 016c8da mocha and coffeescript version bump (@drevilt)
  • #2 Merge pull request #2 from drevilt/master (@drevilt)
  • 9d56103 use the locally-installed copy of coffee-script when 'npm test'ing (@notatestuser)
  • 2ece84f added Repo#identity and Repo#identify with a unit test (@notatestuser)
  • dd96ffd [README] amended 'npm install' line to reference this fork's own tarball (@notatestuser)
  • 1846098 for Travis: make use of Repo#identify to ensure that our repository has an identity set when running the #create_tag test (@notatestuser)
  • 3afe421 [README] #status, #identity and #identify (@notatestuser)
  • cf01b46 [README] #remote_remove and #remote_push (@notatestuser)
  • eed147c [README] #sync (@notatestuser)
  • #19 Merge pull request #19 from notatestuser/everything-to-pull (@notatestuser)
  • 4b4c803 locked down the signature of Repo#sync with unit tests and an accurate representation in the README (@notatestuser)
  • #20 Merge pull request #20 from notatestuser/everything-to-pull (@notatestuser)
  • a14f5e8 updated diff regex (@alexnaspo)
  • 9503fc8 bump to 0.0.6 (@sentientwaffle)

v0.0.5 (2012/03/23 19:11 +00:00)

  • 7f158c4 handle multiple "unstaged" messages (@sentientwaffle)
  • a92e358 bump (@sentientwaffle)

v0.0.4 (2012/03/23 14:59 +00:00)

  • 6e85678 Merge branch 'sync' (@sentientwaffle)
  • b8bba25 update docs [ci skip] (@sentientwaffle)
  • 712928c fix Status#clean (@sentientwaffle)
  • a84da5d bump (@sentientwaffle)

v0.0.3 (2012/03/23 14:30 +00:00)

  • 8e02f4e document Actor#hash [ci skip] (@sentientwaffle)
  • c749389 fix create_tag, closes #1 (@sentientwaffle)
  • 50f8183 bump (@sentientwaffle)

v0.0.2 (2012/02/20 22:07 +00:00)

  • 3ef68d9 initial commit (@sentientwaffle)
  • dc28bc1 change README wording (@sentientwaffle)
  • 8d9a62c add coffeescript as dev dependency (@sentientwaffle)
  • cf42381 add travis.yml (@sentientwaffle)
  • ce9ae80 loosen up the mocha version (@sentientwaffle)
  • 0e5b0f2 add travis button to README [ci skip] (@sentientwaffle)
  • e322373 add Commit#toJSON (@sentientwaffle)
  • d7addbe dont crash when the skip is set too high (@sentientwaffle)
  • 5486623 parse date correctly (@sentientwaffle)
  • ce62b82 add Actor#hash (@sentientwaffle)
  • a2528a0 allow Repo#diff to receive commit shas (@sentientwaffle)
  • ff3161b add Diff#toJSON (@sentientwaffle)
  • ac2f2c5 add Repo#revert (@sentientwaffle)
  • 375b34c quote the commit message (@sentientwaffle)
  • b566b6d bump (@sentientwaffle)