Questions tagged [pull]

In distributed version control, pull or fetch is the action of transferring remote changes into a local repository.

In distributed version control, pull or fetch is the action of transferring remote changes into a local repository.

Examples:

970 questions
49
votes
2 answers

GIT pulling or cloning repository only gets Master branch

I host on BitBucket when I git clone a repository or use git pull origin master and git pull origin myBranch it does pull second time, but when I list branches with git branch -v I only see master. Doing git status shows nothing too. How do I pull…
JohnA
  • 1,875
  • 8
  • 28
  • 34
47
votes
1 answer

Git Merge - Incomplete, Missing files and Folders

I was trying to merge a dev branch into master. git checkout master git pull . dev Everything seemed to go well, although there were conflicts I fixed these and commited. But when I checked this newly merged working tree is missing a lot of…
Quang Van
  • 11,475
  • 12
  • 57
  • 61
46
votes
6 answers

Jenkins Git Plugin not pulling latest changes before building job

I am working with Jenkins CI and am trying to properly configure my jobs to use git. I have the git plugin installed and configured for one of my jobs. When I build the job, I expect it to pull the latest changes for the branch I specify and then…
polarice
  • 517
  • 1
  • 5
  • 7
45
votes
8 answers

What does the warning "redirecting to" actually mean?

I have noticed that sometimes when I git pull a project, there is a message saying: "warning: redirecting to " I tried searching what it means but I find nothing useful. What is it?
Makogan
  • 8,208
  • 7
  • 44
  • 112
43
votes
2 answers

Show progress of Mercurial push/pull

Is it possible to get Mercurial to show progress of long-running push or pull operation? Google tells me basically "no", but does somebody know better? I was expecting something like hg pull -v...
mmiika
  • 9,970
  • 5
  • 28
  • 34
43
votes
2 answers

Exclude specific files from 'git pull'

I have a production git repo that I only pull changes from the main repo into; I never change this repo or do commits/pushes from here. I recently accidentally pushed some untracked (at least I thought they were) image files to the main repo from my…
Chris Barnhill
  • 621
  • 1
  • 7
  • 12
42
votes
6 answers

Git - Automatically fast forward all tracking branches on pull

I've set up tracking branches with the --track option, and when I do a git pull on master, it fetches all branches to origin/branchname but doesn't merge with the local tracking branches. This is extra annoying, because if I later do a git push on…
Chetan
  • 46,743
  • 31
  • 106
  • 145
42
votes
4 answers

When will `git pull --rebase` get me in to trouble?

I understand that when I use git pull --rebase, git will re-write history and move my local commits to occur after all of the commits in the branch I just pulled from. What I don't understand is how this would ever be a bad thing. People talk…
Gabe Hollombe
  • 7,847
  • 4
  • 39
  • 44
40
votes
20 answers

Docker pull error : x509: certificate has expired or is not yet valid

Description of problem: I'm trying to pull ubuntu from the public registry with this command : docker pull ubuntu And then i got this results (the previous command was working yesterday) : "Error while pulling image: Get…
39
votes
2 answers

Clone specific branch from git

I have a repo in bitbucket, and i am using git. So my branches are master develop_one develop_two When i use git clone git@bitbucket.org:project/project.git, i am getting only the master branch code, but i need to clone/pull only develop_one…
Shiva Krishna Bavandla
  • 25,548
  • 75
  • 193
  • 313
36
votes
16 answers

BitBucket Git Error: did not send all necessary objects

I am using bitbucket and git to revision a project I am currently working on. Today I tried to pull down the latest working copy of the project but was met with an error that I cant seem to find any solution to. $ git pull Password for…
Theo Kouzelis
  • 3,195
  • 5
  • 37
  • 66
35
votes
7 answers

Why do I sometimes see an "Entry 'filename' not uptodate. Cannot merge." after a 'git reset --hard' and a 'git pull'?

Occasionally, when I do the following... git reset --hard HEAD is now at 0123abde comment is here git pull Updating 0123abde..456789fa I get the error... error: Entry 'filename' not uptodate. Cannot merge. The only workaround I have found is to 'git…
James Bobowski
  • 475
  • 1
  • 4
  • 7
29
votes
4 answers

Using MongoDB $pull to delete documents within an Array

I have a collection in MongoDB, which is like following: { "_id" : "5327010328645530500", "members" : [ { "participationCoeff" : 1, "tweetID" : "5327010328645530500" }, { …
VaidAbhishek
  • 5,895
  • 7
  • 43
  • 59
29
votes
0 answers

How to run adb push as root?

I want to use adb pull to pull a db file from Nexus 7 to PC. My nexus 7 has been rooted. If a use "adb pull /data/data/com.xx.xx/databases/xx.db .", it failed because of permission problem. But if I use ">adb shell; >su", but then I can't use "adb…
TianxiLiu
  • 367
  • 1
  • 3
  • 8
27
votes
1 answer

Git refs merge vs head in pull request

The refs/pull/*/ head refers to head of the PR but what about the refs/pull/*/merge , I am not finding any git commits which are shown as part of /merge in commit history .what does this /merge exactly mean for a PR and when PR has multiple commits…
Ramprasad
  • 328
  • 1
  • 3
  • 7
1 2
3
64 65