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
7
votes
3 answers

Opposite of `git push --mirror`? How do I get my repo back?

I am having great success with git push --mirror to make backup copies to a bare repo. But after search on SO and elsewhere, I cannot find a way to clone the thing locally with all branches. I do not want to use git clone since I don't want my local…
Dan Rosenstark
  • 68,471
  • 58
  • 283
  • 421
7
votes
1 answer

How to prevent pulling in git from different than the current branch

Currently if you are in branch V2 and you do "git pull origin V3" it merges V3 to V2 and doesn't even warn or prompt about it. Can this option somehow be blocked? I read all the similar questions here and people suggest I can use fetch or show a…
walla
  • 293
  • 1
  • 2
  • 16
7
votes
3 answers

Git fetch only one directory

I have a developer that works on one folder and another that works on another. I would like to update the production with a specific folder I'm looking for a command like: cd /myproject git pull myfolder and expect that only myfolder will be…
fredy
  • 575
  • 2
  • 9
  • 20
6
votes
1 answer

Can't pull docker image behind a proxy

I am trying to pull images behind a proxy. I've setted the docker config file : ~/.docker/config.json : { "proxies": { "default": { "httpProxy": "...", "httpsProxy": "..." } } } Setted $DOCKER_CONFIG as…
emilie zawadzki
  • 2,035
  • 1
  • 18
  • 25
6
votes
1 answer

Heroku pull postgres database to local failed with unrecognized data block type (0)

I connected to heroku postgres database with pgadmin and created a simple table that has two simple columns: id - bigint identity name - text and simple two rows: id name 1 name1 2 name2 When I execute the command heroku pg:pull…
6
votes
1 answer

How to perform "git pull" with the Rust git2 crate?

The git2 crate doesn't have direct way to perform "git pull" action. I've seen this question and tried to do it the same way (playground): use std::fs; use std::fs::File; use std::io::{stderr, stdout, Write}; use std::path::Path; use git2::{Commit,…
Argentumbolo
  • 147
  • 1
  • 7
6
votes
2 answers

How should I troubleshoot my Google Contributor Licence Agreement Issue on my pull request?

I have made the Pull Request to this project, which is owned by google. So, google asks for Contributor Licence Agreement. which I have signed here. I have created CLA. Firsly, I thought that there are two email addresses in my github account. So, I…
layman_brother
  • 63
  • 1
  • 1
  • 7
6
votes
2 answers

How to temporarily ignore untracked files on git pull?

I have some new files that I didn't add to git yet; I'm not sure I will, I'm still undecided. But I want to get whatever is latest in the server. However, when I do a git pull I get the error error: Your local changes to 'XXXX' would be overwritten…
msb
  • 3,899
  • 3
  • 31
  • 38
6
votes
3 answers

Removing the array element in mongoDB based on the position of element

Actually I need to remove an element from the array based on its position. Using $pop we can remove element from top or bottom (considering it as a stack. 0th element at top) as explained here. We can also remove element from array based on the…
aditya_gaur
  • 3,209
  • 6
  • 32
  • 43
6
votes
1 answer

How to pull latest from a specific remote branch without having need to provide user details?

Requirement: Using libgit2sharp I want to pull (fetch + merge) latest from a specific git remote branch to my currently checked out local branch, without having to pass any other argument, like user credentials etc. Basically I am trying to…
nawfal
  • 70,104
  • 56
  • 326
  • 368
6
votes
2 answers

How i can easily extract data from historian with python?

I am fairly new to Proficy Historian and Python. The purpose of my application is to start extracting data from Proficy. GE (Proficy) Historian is installed on a Virtual Machine Server A while my python is installed in an other VM Server B. Both…
And. D.
  • 61
  • 1
  • 3
6
votes
1 answer

Why is a branch is present in section "local ref configured for git push" but absent in section "local branch configured for git pull"

I'm currently learning git by following the book "progit 2nd edi". In the section "inspecting a remote", the author had the following example. I have noticed that the "markdown-strip" branch is absent in the section "local branch configured for git…
Thor
  • 9,638
  • 15
  • 62
  • 137
6
votes
3 answers

How can I pull databases off my android onto my desktop?

I'm trying this with my Nexus One. I have the android SDK and have used the command adb pull /data/data/com.myapp.android/databases C:\pulls but all I get is pull: building file list... 0 files pulled. 0 files skipped. Also, it seems no matter how…
Julian A.
  • 10,928
  • 16
  • 67
  • 107
6
votes
1 answer

git error: cannot stat : Protocol error

I can't pull/push to remote repo in bitbucket or change branch locally. I am getting the following errors. * branch master -> FETCH_HEAD Performing inexact rename detection: 100% (651/651), done. error: cannot stat…
6
votes
4 answers

git: how to pull latest changes and resolve conflicts

I want to pull in all the latest changes from a github repo. There is only one branch and only one person (the developer) adds and modifies the code. I simply pull everything in, once a new feature is added. Normally, all I do is: git pull But…
Boosted_d16
  • 13,340
  • 35
  • 98
  • 158