Questions tagged [branch]

1

votes
4

answer
1.8k

Views

Create new branch from specific commit onwards

I want to create a new branch, starting from a certain commit. However, I want all the commits that were commited afterwards to be part of that branch too. Lets assume this is branch-D with all the commits. > branch-D commit-A ---- commit-B ---- commit-C ---- commit-D I want to remove everything fro...
Stophface
1

votes
2

answer
22

Views

Git branching strategy issue

Currently we are using a GitFlow approach to our branching strategy. However we came across the following scenario. We created a release branch. There were a couple of bugs that needed a fix on the release branch. In the meantime since the development continued on the develop branch there were addit...
igalbenardete
1

votes
2

answer
31

Views

How to pull a remote branch locally?

I created a project on Gitlab and cloned it on my computer. So I only have one branch (master) locally (git branch only shows master). A colleague created a new branch. So now there are 2 branches on Gitlab but not on my computer. How do I do to have the branch created by my co-worker on my computer...
Nicryc
3

votes
1

answer
143

Views

In GitHub,update one branch to match another branch

So here's the deal: For each of our 50+ repositories, we have a three-tiered branch model: Dev, Test, Master. Dev can be updated whenever the Devs want, and changes are aggregated by a team lead and submitted for deployment to our test environment, at which time the code is merged to the test branc...
MarkTO
0

votes
0

answer
4

Views

How can I add back app on Google Play store, after it was removed

I had a recent version of my app on Production, but I had an old version on the Alpha Closed track, that I didn't publish. This version was using Branch 1.0 which is not compliant. My prod app was using Branch 3.0 'Your app is using the Branch IO SDK, which is uploading users Installed Packages info...
rosu alin
1

votes
2

answer
557

Views

BGE Instruction ARM

This test asks to branch under the condition 'BGE' branch to a label. The values stored in my registers being compared are: LDR r0,=0X3 LDR r1,=0X8F CMP r0,r1 BGE a_label SUBS r1,r1, #0XC9 I expected it to branch but somehow 0X8F isn't greater than 0X3. Emulating my code on Keil proves this. Im wond...
MangoKitty
1

votes
3

answer
64

Views

How do I show branches only inside one branch folder or subfolder?

I have organized my branches into folders and subfolders. I am only accessing my GIT repo through the CLI. I would like to be able to list only branches inside a branch folder. FEATURE/branch-1 FEATURE/branch-2 FEATURE/CURRENT/branch-000 FEATURE/CURRENT/branch-001 FEATURE/CURRENT/branch-002 * master...
Greg Kerstine
1

votes
2

answer
551

Views

llvm - get label of br instruction

My question is simple. Given an instruction of type branch, how do I extract the label out of it? For example: br label %while.cond Should give me while.cond br label %while.end Should give me while.end br i1 %cmp1, label %if.then, label %if.end Should give me if, if.then, if.end respectively.
Eren555
1

votes
2

answer
364

Views

Branch.io event logging

I am following the below link for logging ecommerce event in branch.io https://github.com/BranchMetrics/branch-deep-linking-public-api#logging-commerce-events I am using the same request as mentioned in the link. but the details are not getting captured in branch.io dashboard. I am getting 'branch_v...
harshit yadav
1

votes
1

answer
455

Views

Python way to run git log command to fetch details of repository without cloning it

Is there a Python way to run git log command to fetch details of repository without cloning it? I want to run commands on bitbucket server to find all activities of a repository.
Mayank Srivastava
1

votes
2

answer
95

Views

In Github, how do I figure out what remote branches I can push to?

How do I see what branches I have access to push to? I just accepted an invitation from our admin to a GitHub project and switched to the branch where my code was localhost:myproject davea$ git checkout unit_tests_20180116 Switched to branch 'unit_tests_20180116' but when I try and push my changes,...
Dave
1

votes
0

answer
59

Views

MIPS pipeline load use hazard with branch

Today I'm studying in the MIPS pipeline and finding out one interesting thing. Seeing the code below: I1: lw $s1, 0($s3) I2: add $s4, $s5, $zero I3: beq $s1, $s5, 8 In order to reduce penalty of branch, we make compare two register data in ID stage. Making me confuse is that whether this condition...
J.Hsieh
1

votes
0

answer
28

Views

Mercurial: Tracking configuration files, but in a different branch

In my current project I have followed the usual advice for configuration files: Commit configuration files as templates, then copy them to another location so that configuration settings don't end up in the change history. However, it is nice to be able to track the history of configuration files as...
alexis
1

votes
1

answer
526

Views

How to delete a clearcase branch with a single command?

I've accidentally created a branch with the wrong config spec and I've made a merge in there that wasn't meant to be done. Is there a way to remove this branch like it never existed, with one and only command? There are no checked-out files in the branch. I could go through all files and do it manua...
Stelios Adamantidis
1

votes
2

answer
34

Views

Change in contents of folder on branch change in Git

Say my working directory is C:\Users\f1 and current branch is master. If I checkout to another branch (myBranch), how do the contents of C:\Users\f1 get replaced with those of myBranch?In other words, how does the content of the same folder change with a branch change? Does git delete the current co...
rahs
1

votes
1

answer
396

Views

Git branch strategy with multiple parallel feature release into the same application

We are developing modules for a web app that are released in parallel. We are trying to figure out a good branching strategy to keep an overview of the released modules. This is our current system: Master: contains all released modules / code (matches production) env/test: Branch that is deployed to...
Herman Kruisman
1

votes
1

answer
655

Views

How to deal with a bugfix in GitFlow (or other process) once a release is ready to ship and merged into develop & master

From https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow : Once the release is ready to ship, it will get merged it into master and develop, then the release branch will be deleted Now that the merge is done : let's say we're now facing instability in production suddenly (ho...
NicolasW
1

votes
0

answer
35

Views

Git: Don't push merged/pulled branches

I am looking for a solution to a problem I seem to be running into more and more working on distributed projects that change quickly. Here is the problem statement: There are a number of developers working on improving a common code base in github that uses the master branch. Each one spins up the...
RandomString
1

votes
1

answer
1.5k

Views

git push origin $BranchName - redirects to https://gitlab.com/users/sign_in

So I am logged into Gitlab in Chrome but from the command line I am signed in then try to push and get the following result: git push origin $BranchName fatal: unable to update url base from redirection: asked for: https://gitlab.com/the-project/the-task/$BranchName.git/info/refs?service=git-receive...
D. Miller
1

votes
0

answer
59

Views

Branch.IO - No data is being read when “access_token” is in the query string

I have recently integrated our hybrid app with an Oauth server and Branch.IO for deep linking. The server returns a query string where access_token is a variable. However, it doesn't get through. Here's the sample: token_type=bearer&access_token=XXXXXXXXXXXXXXXX&access_token_expires_in=839&tokens_i...
warDevyll
1

votes
1

answer
43

Views

git checkout branch without checking files

I have huge size of git repo in my local system with 10 different branches, In those 10 branch the master repository is around 2 GB. when i switch from any branch1 to master branch, Git is trying to checkout all files in local system itself, how to reduce the time here. [[email protected]_001 myrepo]$ tim...
vinoth
1

votes
1

answer
83

Views

After using git filter-branch --subdirectory-filter how do I still use old repo and reclaim git space?

I use git filter-branch to split a subfolder out into a new repository, refer to https://help.github.com/articles/splitting-a-subfolder-out-into-a-new-repository/ and https://stackoverflow.com/a/45983384/301513 My question is, according to the steps in the article, I need to create a new repo and g...
Qiulang
1

votes
0

answer
24

Views

Github: Define that only Beta branch can be merged into master branch?

I want to set som restrictions or somehow define that only the beta branch, and poitentially any 'hotfix' branch, can be merged into the master branch. Is this possible in GitHub? The reason is to avoid accidental pull requests from a feature or development branch into the master branch. Also, is it...
Troels
1

votes
0

answer
89

Views

Branch.initSession not returning data in Ionic v1 on iOS

I have installed and configured branch as documented. Everything works fine on Android, but I am not able to make it work on iOS. Here is what I followed. Ionic v1 project Created Branch account and configured everything. Configured keys, domains etc in config.xml file. Calling branchInit() on devic...
Sudheer
1

votes
1

answer
136

Views

TFS 2015 can't see other user's pending changes on branch

MS Team Foundation Server 2015, with the native TFS SCM: On the main branch, every user can see pending changes from every other user. I branched off a branch from the main branch with several check-ins in the past already. I'm currently having locally modified files on that branch and see them as p...
Scrontch
1

votes
3

answer
32

Views

Creating branch in git in master being in a another branch

I want to do something like this. I have a branch called branchA and i want to create a new branch. This new base if the new branch should be the master. How can i do this if i am working in the branchA
Jonny
1

votes
1

answer
343

Views

branch.io deeplink not working as expected in ionic 3

I have integrated branch.io deeplink in my ionic 3 application. I have successfully generated the link and the link opens up the app. But, I wanted to open a particular page instead of the homepage of the app. So, I integrated the below code to the desired page: dl(){ // only on devices if (!this.pl...
Soumya Rauth
1

votes
1

answer
309

Views

Branch.io, for each users in my database create a referral link for my app so that I can bulk emailing my users with their referral link

I know I can create referral links in my react native app for a given user. i.e. branch.setIdentity(userId); const branchUniversalObject = await branch.createBranchUniversalObject(..); const { url } = await branchUniversalObject.generateShortUrl(linkProperties); But what I want to do is for each us...
Ma A
1

votes
1

answer
37

Views

Submit several pull requests that depends on each other

I forked a project on Github. So far I have used the usual approach which consist in creating a specific branch, make some specific changes, push it to origin and create the pull request for the upstream repo. Now let's assume I have created branch B1 to fix a problem in the code and create a pull r...
L. Julliard
1

votes
0

answer
113

Views

How to restructure a git repository into branches

I have a git repository with a structure like this: .git\ AB1\ AB2\ CD1\ EF1\ EF2\ and want to remodel it so that it is contained in three branches: branchA with folders AB1\ and AB2\, branchB with the folder CD1\ and branchC with folders EF1\ and EF2\. So that each branch contains only the folders...
JackJadon
1

votes
1

answer
257

Views

Teamcity Project settings in SVN and branches

I am using TeamCity to build a project hosted in an SVN Repo. I use one VCS root in project and checkout rules in each build configuration to be able to build feature branches. I think about using TeamCity feature 'Storing Project Settings in Version Control'. Now the question: How is it possible to...
Pischke
1

votes
1

answer
49

Views

sonarqube c# connected mode not analyzing new projects

I have created a new project in my solution but have not checked the solution onto the branch that connected mode is pointed to. Is it not possible to get code analysis on this new project prior to checking the project/solution back onto the branch that connnected mode is pointed to? I would like...
Ronbo71
1

votes
1

answer
67

Views

git filter-branch - remove one of many submodules

I have been using git filter-branch a lot to get rid of legacy files, however for a bare git repo I cannot figure out how I can rewrite my git history where one of my git submodules is removed. I have a top-level repo 'Donald' and below 'Donald' I have four submodules 'Huey', 'Dewey', 'Louie' and 'P...
Peter Toft
1

votes
0

answer
77

Views

Determine app-launch source (organic vs non-organic)

On iOS, most deeplink/notification-SDK's provides delegate functions or callbacks that allow us to know if that framework was involved in opening/installing the app. What if we want to track whether the app was opened (for example): Organically Through a Branch link Through an Appsflyer link Through...
Daniel Larsson
1

votes
0

answer
47

Views

How to convert recursion to iteration way of branch and bound algorithm in Matlab

I have a problem in converting branch and bound algorithm from recursive to iterative method. The code for recursive method is as below: function [xx,val,status,bb]=bnb(f,A,b,Aeq,beq,lb,ub,x,v,M,e,bound) [x0,val0,status0]=linprog(f,A,b,Aeq,beq,lb,ub,[],options); if status0 bound ... return end i...
bnbfreak
1

votes
1

answer
62

Views

How to rebase branch in IBM Clear Case

My colleague created a feature branch about a year ago and checked in some modification on it. Now I need to continue with it but During the time files was changed on the main branch too. Now I need to rebase feature branch to main latest and merge changes from main to my feature branch. How can I d...
FoxVK
1

votes
1

answer
219

Views

URI scheme missing from Branch.io $deeplink_path

Our Branch.io deep links only open the app but don't navigate to the correct view, since we rely on a pod DeepLinkKit which expects the incoming $deeplink_path to include a URI scheme (i.e. https:// or appName://) The Branch Debugging Tool shows that $deeplink_path and $ios_deeplink_path both contai...
alyx
1

votes
1

answer
51

Views

Unable to test my Facebook Ads for Branch.io Differed Deep Links

I am trying to test my Facebook Ad Deeplink which were made by using Branch.io to make a conversion funnel. Clicking the preview ad button sends the ad link to the phone, but the test ad doesn’t work as intended with deep linking. Also, while trying to test the Deep Links using 'App Ads Helper' --...
Devesh V
1

votes
1

answer
65

Views

Delete git branch by anything, not name

I have a problem with deleting git branch. At first I was able to create it using 'git checkout -b ....'. But it seems to me, that I made a mistake while writing, hit something wrong, then backspace. It resulted in wrong name of this branch. I was able to work on this branch, even push it to remote,...
1

votes
0

answer
74

Views

Trouble creating a URL. Unable to reach the Branch servers, please try again shortly

I am using Branch IO Android SDK, but since yesterday I've been receiving an error: Trouble creating a URL. Unable to reach the Branch servers, please try again shortly. I've verified my code again but this is still occurring. I can't find any solutions to this.
Karan Jadhav

View additional questions