Questions tagged [remote-branch]

142 questions
0
votes
1 answer

Local Branches Not On Remote Branch

I have a project that needs to diverge into 3 different branches. Those branches will never be merged anymore (though certain fixes might have to be applied to all 3 branches). In the image below "master" is one of the branches. "Branch1" and…
Hu F.
  • 33
  • 1
  • 6
0
votes
1 answer

Delete remote branch in SAP Web IDE

I created a remote Branch but with the wrong name and now I want to delete the remote branch. The problem is I don't now how because if I right-click one the Project->Git there is only an option to create a remote branch but no option to delete one.…
DarkPlaymo
  • 11
  • 3
0
votes
1 answer

Different remote name GIT, fetch using GUI

At work we have a problem using GIT GUI for bitbucket. I have a project on Bitbucket named TestProject, a remote named bitbucket for local repo, so when I push to remote I have a remote branch called remotes/bitbucket/master. My coworker has a…
Marcx
  • 6,806
  • 5
  • 46
  • 69
0
votes
1 answer

How to start working off a remote branch, Github

I am new to Github and i have a question that i have been trying to find an answer. Say i have three repositories, Origin, Repo1 (my repo - forked from Origin), Repo2 (my colleague's repo forked from Origin). We work on our own repos, and then make…
user2070333
  • 335
  • 2
  • 11
0
votes
1 answer

Swith remote branches in git

Say I have two remote git branches, A and B. I want branch A to contain the contents of branch B and later remove B, so that only branch A remains with B's original contents. Unfortunately, the remote repository won't allow my to simply delete the…
nbubis
  • 2,304
  • 5
  • 31
  • 46
0
votes
1 answer

Push entire remote git repository to another remote

I've forked my project off the wrong project (I forked a fork) and I want to reset my GitHub repository to be forked off of the original. Moving a fork in GitHub involves dropping and reforking AFAIK. The only problem is I want to push my old…
lanierhall
  • 530
  • 1
  • 5
  • 15
0
votes
1 answer

Difference in remote branches in git

When I clone our repository from the server fresh, I see much less remote branches than on the clone that existed for a while now: $ git branch -r | wc -l 90 $ git branch -r | wc -l 376 At times we 'clean' old branches by tagging and…
TeTeT
  • 2,044
  • 20
  • 30
0
votes
0 answers

Git delete remote branch and move branch off master, and push remotely

I am on local master branch and created subbranch. I then tried to push it, so that others can access to this branch and work on it too, but it failed. Then I thought I should create a remote branch, so I ran git push origin subBran The branch was…
user2751691
  • 401
  • 2
  • 10
  • 32
0
votes
1 answer

get remote git branch when remote is not available anymore

When I type git branch -avv it shows me the list of all branches: local and remote ones git branch -avv master 2fa4d6c [origin/master] RT92026 Modified 'update' for the STM32F429 Discovery to use 'image'. Removed 'eimage'. …
pulse
  • 303
  • 4
  • 18
0
votes
1 answer

Merging between forks in GitHub (with branchs)

The question is similar to Merging between forks in GitHub. However, my problem is that I want to merge remote branch in the remote repository. I have been trying to: git pull / master or git pull…
tres.14159
  • 850
  • 1
  • 16
  • 26
0
votes
1 answer

I have two remote branches with similar names. Will this command delete the right one?

I have two remote branches: origin/dev origin/origin/dev I want to delete origin/origin/dev. Will the following command do what I want? git push origin --delete origin/dev
bhartsb
  • 1,316
  • 14
  • 39
0
votes
1 answer

Undo git branch --track remotes/origin/X

Using git branch --set-upstream resulted in this message: The --set-upstream flag is deprecated and will be removed. Consider using --track or --set-upstream-to Without thinking about it too much and assuming verb-object order, I then tried git…
Praxeolitic
  • 22,455
  • 16
  • 75
  • 126
0
votes
2 answers

What are local branch,remote tracking local branch, remote branch

I have started working with Git recently. Normally I use eclipse Egit and very rarely git shell. After going through a lot of material on Git and its branching, I still have confusion regarding that. I know there are n number questions on Stack…
Shailesh Vaishampayan
  • 1,766
  • 5
  • 24
  • 52
0
votes
1 answer

Command to show branch being tracked and revisions behind by git svn

I just want to know to what I am pushing when I use git svn dcommit and from what I am pulling when I git svn rebase. Is there a commandline command I could execute that would give me that information? I just want the branch name. Also, is there…
Mr Mikkél
  • 2,577
  • 4
  • 34
  • 52
0
votes
1 answer

Why git fetch didn't fetch one of my remote branch reference

I have one remote repository and two working dirs. Both are setup with this one remote repository. From working DIR_1 I make push from branch dev like that: git push origin dev Next when I'm on working DIR_2 I would like to get the reference to…
Marcin Kapusta
  • 5,076
  • 3
  • 38
  • 55
1 2 3
9
10