Skip to content

Pull doesn't work #32

Closed
Closed
@alexspeller

Description

@alexspeller
g = Git.open "repo"
g.pull
# "Already up-to-date."
g.lib.send(:command, 'pull')
# "Updating 6d57a5a..0bbe197\nFast-forward\n file.rb |    6 +-----\n 1 files changed, 1 insertions(+), 5 deletions(-)"

It looks like internally Git::Base#pull doesn't use git pull at all, but fetches and merges. Why does it not use git pull as expected? Currently it just reports it's already up to date.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions