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
26
votes
6 answers

Recursive Git push/pull?

I have a git repository that contains other git repositories. Are there commands that recursively push and/or pull for not only the meta-repository but the sub-repositories?
David Y. Stephenson
  • 872
  • 4
  • 22
  • 44
24
votes
4 answers

How can I pull all remote changes with rebase instead of merge?

I can pull changes using git pull, but it merges my local commits. Is there a git rebase equivalent with which I can pull in remote changes?
michael
  • 106,540
  • 116
  • 246
  • 346
24
votes
2 answers

Get status of an ongoing docker image pull

How to get status of a running docker pull process? I tried pulling busybox with sudo docker pull busybox . But no status is being displayed. On issuing another pull request after a ctrl+c it says that image is already being pulled by another…
cutteeth
  • 2,148
  • 3
  • 25
  • 45
23
votes
2 answers

How to change fetch URL of a git repository.

I have a github profile and I forked someone's repository into mine. and locally I have cloned this repository using git clone https://github.com/my-github-page/repo-name Now, since some time has passed the original repo owner has update his…
hidar
  • 5,449
  • 15
  • 46
  • 70
23
votes
3 answers

How to git fetch and checkout without creating a remote branch locally?

Use Case: I have some repo on GitHub, someone forked it and added new feature and initiated pull request. I can't automatically merge it because there are some minor problems I would like to fix first. It's one-time activity I'll never need this…
Alex Craft
  • 13,598
  • 11
  • 69
  • 133
22
votes
2 answers

Can I delete a forked Github repository when upstream hasn't accepted my pull request?

I forked another person's repository, made some of my own commits, and then sent a pull request back to the user. The user has not been active lately, and I do not see myself contributing any more to the project. I would still like to see my…
Trevor Hickey
  • 36,288
  • 32
  • 162
  • 271
22
votes
1 answer

How to set Mercurial upstream

I created local hg repository for new project: hg init ; hg addremove, then I created empty upstream repo, and pushed first version there: hg push https://remoterepo. Now, I want to set that https://remoterepo as default upstream, so I can just do…
hyde
  • 60,639
  • 21
  • 115
  • 176
21
votes
2 answers

run-as package: not debuggable

I'm trying to extract the database file from my Android device (non rooted Exynos Galaxy S9 running One UI 2.0) and every time I open up Android Studio 3.6.2 -> Device File Explorer I get the message "run-as package: not debuggable". This happens…
A j
  • 331
  • 1
  • 2
  • 7
21
votes
4 answers

Shell script to check git for changes and then loop through changed files?

I am trying write a shell script that does the following: Checks the remote git repository for any changes to pull. If there are changes in the remote git repository pull those changes. Loops through the files that are new or have been…
startupsmith
  • 5,554
  • 10
  • 50
  • 71
20
votes
2 answers

Git - Fixing conflict between master and feature branch before pull request

I have to make a pull request to a repo. I clone the project and it has only one branch : master I checkout a new branch feature and commit my changes to this branch. I push my branch to Github and I'm now able to make a pull request. So I do it but…
user2462805
  • 1,049
  • 3
  • 11
  • 26
19
votes
5 answers

Docker pull error

I've a problem with my Docker. When I run the docker pull command, I get a fatal error. run: docker pull golang get: Pulling repository golang FATA[0000] Get https://index.docker.io/v1/repositories/library/golang/images: dial tcp: lookup…
jjaros
  • 518
  • 2
  • 4
  • 18
19
votes
2 answers

Does hg pull only operate on the current working directory?

I have multiple mercurial repositories and used hg clone to create backups of them on our file server. Now I want to write a batch file that updates them once a day by running hg pull -u on each subdirectory. I want to keep this backup script as…
fbuchinger
  • 4,494
  • 2
  • 30
  • 31
18
votes
2 answers

How to pull photos with ADB from local storage - android device

i have some problems with my Asus Zenfone 2 device (no root). In particular, some days ago, while i was travelling abroad, my device decided to no more turn on, staying permanently in the loading ASUS screen. Before doing the hard reset, i want to…
zzari
  • 283
  • 1
  • 5
  • 13
16
votes
3 answers

git rebase after pull

I typically use git pull --rebase if I'm working directly on master (which I try not to do anyway). In the event that I forgot to do a rebase and just did git pull, is there a way to undo that and make it linear, rather than having a merge? Would…
Jeff Storey
  • 56,312
  • 72
  • 233
  • 406
15
votes
2 answers

Differences between Github commands "Update Project" and "Pull" in Android Studio 3.3.1?

I use GitHub in my Android Studio 3.3.1 project. There are similar icons next to both the menu items "Update Project..." and "Pull...". What are different between Update Project and Pull commands in GitHub in Android Studio 3.3.1? VCS Menu Update…
HelloCW
  • 843
  • 22
  • 125
  • 310