Skip to main content

Questions tagged [git-pull]

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

0 votes
0 answers
11 views

Why does `git pull origin master:master` from non-master branch cause branch to be rebased?

I'm on branch master and do git log commit 9937b91089895fac45a39a3bda2935e19eb42554 (HEAD -> master, origin/master, origin/HEAD) ... git status prints On branch master Your branch is up to date ...
joseville's user avatar
  • 831
0 votes
1 answer
30 views

Why do I have to run "git branch --set-upstream-to=origin/<branch> local-branch-name" while doing git pull?

I am wondering why I have to git branch --set-upstream-to=origin/<branch> local-branch-name when doing git pull? Is there a way to keep the upstream the same as the current local branch of ...
caot's user avatar
  • 3,268
0 votes
0 answers
35 views

In this situation git pull vs git rebase [duplicate]

I am a beginner git user. Please give me advice on the situation below. 1. Create a feature branch to implement functions in the develop branch. 2. Merge a new commit into the develop branch (this ...
mammoth's user avatar
  • 13
0 votes
0 answers
34 views

How to fetch changes in part of a git repo under a different directory structure not under main repo directory (and even on another file system)

I'm using termux and using git to backup configurations within the termux home directory and in the shared directory (which is on a different filesystem, which I can't avoid the way termux is setup). ...
narnie's user avatar
  • 1,752
-1 votes
4 answers
10k views

`git pull --rebase origin dev xxxxx.git` require autentication

I want to push some software to 'dev' branch. Software was developed to another computer with Windows and currently I have reinitialize git repository from scratch on Linux machine and want to push my ...
Viacheslav's user avatar
  • 1,214
-2 votes
1 answer
37 views

What HEAD operations happen upon a git pull?

When I do git fetch origin main I get: From github.com:company/app-ios * branch main -> FETCH_HEAD However when I do git pull main I don't get any mention of ORIG_HEAD or ...
mfaani's user avatar
  • 35.4k
0 votes
0 answers
162 views

Divergent branches on github

I'm new to github and I had some questions. I started working on a branch and forgot to do gitpull to update the local repository to match the remote repository. This is what I did. I did a git commit ...
Aadrita Chatterjee's user avatar
0 votes
1 answer
16 views

github collaboration pull request

I am the admin of a github repo. I have added a collaborator with my project, he has done some changes and pushed it in the repo correctly. But how do I get the updated code in my local PC/ VS code? I ...
Saifullah Anik's user avatar
0 votes
0 answers
47 views

Bogus Git error message... can't fix or work around it [duplicate]

Something has happened to my local copy of a Git repo. When I try to synch it to the server (git pull) I get the following message. Updating 060b8f7..af17d97 error: Your local changes to the following ...
Jonathan Sachs's user avatar
-1 votes
1 answer
140 views

How git knows that branch is up to date? `Error: There is no tracking information for the current branch.`

I am curious how git knows that branch is up to date if it complaints about lack of tracking information for this branch? git pull -v --rebase=merges POST git-upload-pack (155 bytes) From https://...
Eugen Konkov's user avatar
  • 24.1k
0 votes
1 answer
35 views

How do I pull merged changes from a sub-branch back onto the original branch locally?

I created a branch. Let’s call it feat/feature1.0. My friend created a branch off of this branch. Let’s call it feat/feature1.1. My friend has committed and merged their changes into the original ...
Devvy's user avatar
  • 3
0 votes
1 answer
31 views

How to Raise MR for two different Branch from one branch

I am on task/common branch. I take pull from the release branch and push the code and raise MR for the release Branch. now i need to push the same changes to the develop branch as well from task/...
Krishna Kumar's user avatar
0 votes
1 answer
54 views

How do I avoid Git's `--fork-point` becoming confused by a retroactively created branch?

When I find that I should've made a branch for my current changes, I usually do something along the lines of $ git switch -t -c new-branch $ git switch master # switch back $ git reset --hard origin/...
Alex Shpilkin's user avatar
0 votes
0 answers
45 views

Automatically pull from Github to gitlab issue

I have an issue while pushing/pulling branches from Gitlab.local to Gitlab.com and vice-versa. Inside scoop on my setup: I have Gitlab (Community Edition v16.6.1) installed on the local server (it ...
Hardik V.'s user avatar
  • 374
0 votes
0 answers
42 views

How make a pull request to cloned project from private personal repo

There was a task assigned to me for interview with below delivery instructions: Clone this repository in a new GitHub repository in private mode and share with mentioned ID: whatever-id in private ...
Mehdi Rafiee's user avatar

15 30 50 per page
1
2 3 4 5
84