Questions tagged [git-pull]

Fetches changes from a remote repository and incorporates them into the current branch of a Git repository.

git pull is used whenever changes from a remote repository need to be fetched and incorporated into the local repository. Internally git pull first performs a git fetch to get the remote branches updated and then a git merge to incorporate the changes into the current branch.

1231 questions
-1
votes
1 answer

How can I check the changes between my local GIT repository and the remote one?

I am not so into GIT and I have the following problem. I have a repository on BitBucket and I have to "update" my project to the latest version of the project on the BitBucket repository. So I tried to perform the git pull statment but I am…
AndreaNobili
  • 40,955
  • 107
  • 324
  • 596
-1
votes
3 answers

How to pull code which is in develop branch git bub

I am new to GitHub and I am trying to pull code from develop branch (just another branch) from git hub but its download the code from master branch, which command I should use to get the code from develop branch. pls anyone can explain this. thank…
Chandana
  • 21
  • 1
  • 7
-1
votes
1 answer

What is the correct way to create a pull request in github

I am new to github and open source. I just wanted to know that which of the following is the correct way of contributing to someone's​ project ? A. Fork the project so that it shows under your account and then make the changes in it. Finally,…
dharmik
  • 11
  • 3
-1
votes
1 answer

Git pull is not working in my local machine

I am using redhat Linux server in VMWare. I created a repository in github. And trying to git push after cloning it to my local repository after all setup. I added and committed a file now time to push a file to remote repo. Whenever I do git push…
-1
votes
1 answer

How do I pull your last commit from GitHub to C9?

So, I kind of messed up and went and deleted all my files on C9. I haven't saved anything yet, so I'd like to pull my last commit into my C9. I read somethings that said I should download the zip file of the commit, but I don't really know what to…
Jin Tak
  • 11
  • 1
-1
votes
1 answer

My local repository constantly says * branch develop -> FETCH_HEAD Already up-to-date

When i try to git pull origin develop... the problem is I know it's not up-to-date. I want to pull everything to get back to where everything is up-to-date with others commits. If i have nothing else of importance in my local repository can i just…
thismethod
  • 523
  • 1
  • 6
  • 25
-1
votes
2 answers

Avoid useless policy errors on a pull request?

I'm trying to test a pull request. I performed a fresh clone: $ git clone https://github.com/weidai11/cryptopp.git cryptopp-ds $ cd cryptopp-ds I then issued the following to pull the pr: $ git checkout -b droark-master master $ git pull…
jww
  • 97,681
  • 90
  • 411
  • 885
-1
votes
2 answers

git server error: corrupt loose object on remote

I have an error in response to git fsck --full which is corrupt loose object '...' on a git server machine. I don't have a local repository. I can't clone. I don't have the object in repo/objects/... Do you have any ideas on how to fix this? The…
disgra
  • 683
  • 3
  • 6
  • 18
-1
votes
1 answer

What happens when I do git pull origin master with "--rebase"

Let's come to my problem . what is the different between this 2 command , i am confused about that . 1. git pull origin master 2. git pull --rebase origin master here what is the job of "--rebase" . Please let me clear ! Pull everything from the…
-1
votes
2 answers

Why can't "Git pull" pull all the branches from remote repo

I have a question about "git pull". Suppose I have a two remote branches "master" and "new_branch", when I use "git pull" and then use "git branch", only the "master" is shown. Why I can't see the "new branch"? I have to use "checkout new_branch" to…
Kent Lee
  • 107
  • 4
  • 13
-1
votes
1 answer

git pull error when trying to deploy to AWS EC2

I am trying to commit some new lines of code from my repository to Aws. I have everything synced on Github. Trying to do a pull from my repository to the EC2 instance. I ssh in to my EC2, no issues here, but when I do "git pull" (and enter in my…
srb
  • 45
  • 2
  • 11
-1
votes
1 answer

Git pull with more detailed target and orgin

Scenario: I have 4 repositories, 1 not belong to me Production DevA DevB DevExternal(Another Dev's repo that I dont have access to except pull) There are two branches on DevA Repo Branch1 Branch2 From time to time, I intended to be on my DevA…
ey dee ey em
  • 7,991
  • 14
  • 65
  • 121
-1
votes
1 answer

git - pull from working repo - explain

I'm reading this http://sethrobertson.github.io/GitBestPractices/ which says: Once you git push (or in theory someone pulls from your repo, but people who pull from a working repo often deserve what they get) your changes to the authoritative…
Snowcrash
  • 80,579
  • 89
  • 266
  • 376
-1
votes
1 answer

Git pull keeps the files from the wordpress upload folder?

I installed Wordpress on my server and am testing modes to automatically deploy. The question is: When a git pull, the files in the folder uploads will be kept on the server?
swiksz
  • 43
  • 4
-1
votes
1 answer

Git pull command is mergiing command with unwanted comments

Hi sir /madam, I have git remote repository for my project work, i cloned that from system 1, edited some file called examle.java and then i added it to stag area, then commited, then push the sam to repository again. From…
Vasu
  • 265
  • 1
  • 10
  • 18