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
15
votes
2 answers

How do I solve a dirty index in Eclipse?

I have the following problem in eclipse: How do I solve a dirty index?
n00b1990
  • 1,189
  • 5
  • 17
  • 25
15
votes
4 answers

Mercurial command to combine hg pull; hg up

How can I combine the Mercurial commands hg pull and hg update into one?
Petrus Theron
  • 27,855
  • 36
  • 153
  • 287
14
votes
2 answers

Git pull change log

After pulling from a git server, I'm trying to get a list of all changed files. I don't need any specific parts of code, just a list of files (with some kind of indication as to wether it's been added, removed or changed). I first looked at using…
Gilles Maes
  • 143
  • 1
  • 1
  • 6
14
votes
3 answers

How can I push/pull an individual changeset between repositories in Mercurial?

I have the following situation: I have site A, which has it's Mercurial repo, and we've been developing it for a while. Let's say A has had 5 revisions. We now has to create Site B, which is almost identical to site A, except for graphical design,…
Daniel Magliola
  • 30,898
  • 61
  • 164
  • 243
14
votes
4 answers

What files will be changed vs added when I do an hg pull and hg update

So in Subversion when I do an svn up I get a list of files that were added, modified, deleted, and conflicted. When I do an hg pull then hg up -v it just displays a list of: getting file.ext but I have no way of know if that file is new or already…
James
  • 281
  • 3
  • 8
13
votes
2 answers

smartgit delete commit and return to previous commit

By mistake i have made a commit that now i want to delete from the history log and return to a previous commit. I have been trying to checkout the commit that i want to return to but Smartgit ask me to create a local branch in order to do this…
Lowtrux
  • 156
  • 2
  • 12
  • 41
13
votes
5 answers

Android: adb.exe pull /mnt/sdcard/somefile.txt not working?

Maybe I'm doing something wrong. I'm trying to get a file from my device with adb command: adb pull /mnt/sdcard/deviceinfo.dat C:\ but I always get the message: cannot create 'c:\\deviceinfo.dat': No such file or directory The file esists on…
Seraphim's
  • 12,559
  • 20
  • 88
  • 129
12
votes
10 answers

git pull via PHP exec IIS

Easily the most difficult problem to diagnose that I have EVER experienced. I seem to be unable to call: exec('call git pull', $output); The process hangs and tends to take IIS with it. exec('call git status', $output); //works fine Here's what…
rmirabelle
  • 6,268
  • 7
  • 45
  • 42
12
votes
3 answers

Git pull - deleted files

I have a development server and a couple of production ones. I do commits from the dev to a remote repository and have git push production setup, that issues a pull from the production servers. I needed to remove a couple of directories with static…
Mecca
  • 659
  • 1
  • 7
  • 17
12
votes
2 answers

git checkout & git pull : Avoid intermediate file changes when executing

I'm surprised I couldn't find anything about that... In short, my question is if is there a way to avoid the intermediate file changes between the following two commands, if after the following two commands the file content is exactly as was…
MaMazav
  • 1,773
  • 3
  • 19
  • 33
12
votes
2 answers

How is Docker Pull command different from Docker Build command

The official documentation from Docker, says: Docker build - "Build an image from a Dockerfile" Docker pull - "Pull an image or a repository from a registry" Following is a sample Dockerfile: FROM php:7.1.8-apache MAINTAINER XXXX COPY .…
srigu
  • 329
  • 1
  • 5
  • 16
12
votes
6 answers

How do I hook a git pull on the remote?

Is there a way to hook when a git pull happens on the remote (similar to a pre-receive or post-receive). Basically I'd like to be able to cause the remote to commit whatever it has when there is a pull. In my situation, whatever is live on the…
Danny
  • 121
  • 1
  • 3
12
votes
2 answers

"tag latest not found" on docker pull with private registry

I'm having troubles pulling images pushed to a private registry and get: Tag latest not found in repository I'm using the default registry container provided by Docker: # docker images REPOSITORY TAG IMAGE ID …
Hans
  • 121
  • 1
  • 1
  • 3
12
votes
2 answers

How pull changes from github to bitbucket after initial import?

When I first created my new repository at bitbucket I used the option of importing source from github (Import existing code). However that git repo has now updated and I would like to pull those changes and update my repo at bitbucket too. How can I…
C graphics
  • 7,308
  • 19
  • 83
  • 134
12
votes
3 answers

Automatically pulling on remote server with Git push?

Here's what I'm trying to do: I have a GitHub repository, a portion of which I'd like to make web viewable. Right now I've cloned the repository on my own server and it works well, but in order to keep it up to date, I have to manually login and…
Vernon
  • 211
  • 3
  • 6