Skip to content

Add optional remote arg to fetch & pull, and default to tracking remote - #583

Merged
technoweenie merged 5 commits into
git-lfs:masterfrom
sinbad:fetch-pull-remote-args
Aug 17, 2015
Merged

technoweenie merged 5 commits into
git-lfs:masterfrom
sinbad:fetch-pull-remote-args

Conversation

@sinbad

@sinbad sinbad commented Aug 13, 2015

Copy link
Copy Markdown
Contributor

The first arg to fetch & pull is now a remote. In addition, the default remote if you don't specify is now the tracking remote as in git pull if it exists, and origin if that's not set. This makes it more consistent with the underlying git workflow especially in triangular fork setups.

Note: I had to base this on top of #573 to avoid conflicts.

sinbad added 5 commits August 10, 2015 17:00
These include or exclude lists of paths (matching as per gitignore) in
the fetch to optimise downloading.
…n arg

If we close down the update-index process without having given it any
args in stdin, then it applies to the whole working copy and has unwanted
side effects e.g. calling clean/smudge filters.
The first arg to fetch & pull is now a remote. In addition, the default
remote if you don't specify is now the tracking remote as in `git pull`
if it exists, and origin if that's not set. This makes it more consistent
with the underlying git workflow especially in triangular fork setups.
@technoweenie

Copy link
Copy Markdown
Contributor

👍

1 similar comment
@rubyist

rubyist commented Aug 17, 2015

Copy link
Copy Markdown
Contributor

👍

technoweenie added a commit that referenced this pull request Aug 17, 2015
Add optional remote arg to fetch & pull, and default to tracking remote
@technoweenie
technoweenie merged commit 78d208c into git-lfs:master Aug 17, 2015
@sinbad
sinbad deleted the fetch-pull-remote-args branch August 18, 2015 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants