Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
56 views

I’m an intern working in DevSecOps. Our repo uses branches: test, dev, preprod, prod. I’ve set up scans (SAST, container scan , DAST ) triggered from the test branch. But the dev team often pushes ...
asmr gig's user avatar
-3 votes
0 answers
39 views

Issue: Some code containing a Client ID and Client Secret was accidentally pushed to the integration branch. Although those changes have now been reverted, the issue is that multiple branches had ...
Yashika Chandra's user avatar
0 votes
0 answers
35 views

I'm trying to set up Git to sign my commits using GPG on Windows, but I keep getting this error when committing: gpg: skipped "CD01EE27925BFE93": No secret key gpg: signing failed: No secret ...
Irushi Nathasha Kuruppu's user avatar
-2 votes
3 answers
173 views

Clarification: I'm asking about working on multiple branches in the same worktree. (I know how to work on multiple branches in separate worktrees, but that's not the question here.) Suppose I'm ...
Steve Summit's user avatar
  • 49.2k
0 votes
0 answers
29 views

Is there a general / standard approach to installing a github branch when the "parent" is installed using composer? To hopefully clarify: I would like to install this branch (PHP Dropbox SDK)...
Dennis 's user avatar
  • 1,280
0 votes
0 answers
33 views

I'm working on a project that maintains two active release branches: 10.0.x → for on-prem deployments 10.1.x → for cloud deployments We have an automated system that merges changes from the on-prem ...
Jainam Jain's user avatar
-1 votes
2 answers
134 views

On GIT After I removed a branch there are tags still exists. I used this command to delete local and then remote branch "brnch" git branch -D "brnch" git push origin --delete "...
Ramanan T's user avatar
  • 523
6 votes
1 answer
94 views

git branch branchname creates new branch "branchname", we know that. However, git branch --create branchname also creates new branch "branchname": yet the latter is not documented ...
Giorgi Tsiklauri's user avatar
2 votes
2 answers
134 views

Suppose I have a .git/config as follows: [remote "origin"] url = [email protected]:some/repo.git fetch = +refs/heads/main:refs/remotes/origin/main fetch = +refs/heads/...
jakub.g's user avatar
  • 41.9k
0 votes
0 answers
78 views

I submitted a few files, all to separate branches and made a PR. But my PRs were closed with unmerged commits because I had to fix some issues with my code. I resubmitted after and made new PRs but ...
Bongeka Mtetwa's user avatar
-1 votes
4 answers
141 views

Can I sort branches by -committerdate, but also always show the current branch first? git config --global branch.sort -committerdate Shows more recently committed-on branches ahead of the current ...
Nils's user avatar
  • 428
0 votes
0 answers
67 views

Trying to implement simple release git flow and not understand which version I need to use for PROD. Example: 3 branches - develop, release (for staging) and master (for prod). I can`t change this, I ...
prosto.vint's user avatar
  • 1,545
0 votes
0 answers
42 views

I have 2 feature branches A and B and three diff envs(test ,uat and prod).branch A made changes in file and commited and merged to test. Now after few days branch B made some changes to the same file ...
Kalyan's user avatar
  • 1
0 votes
0 answers
57 views

I have a git repo backed by a BitBucket instance. In this repo I appear to have three branches: main (my local branch I guess) origin/master origin/main The master naming scheme seems to be the ...
halloleo's user avatar
  • 10.8k
1 vote
2 answers
150 views

I have my own fork I’ve been working on for awhile: https://github.com/udance4ever/batocera.linux/ I verified the work done in this branch of a fellow developer’s fork is something I wish to build ...
udance4ever's user avatar
1 vote
2 answers
196 views

I'm trying to understand how IntelliJ handles class loading when running multiple instances of a Java application on different branches. When you run an application directly from the IDE (like ...
239010391's user avatar
2 votes
2 answers
2k views

I want to create a github app in my organization that will allow me to create an automatic versioning commit directly on the main branch after every pull request is merged to main branch. I have a ...
TheMemeMachine's user avatar
-1 votes
1 answer
88 views

I have a branch A that was created from another branch B. Some specific commits from branch B are also present in branch A. I’m considering deleting those commits from branch A, but I’m concerned ...
Sayki's user avatar
  • 3
0 votes
1 answer
71 views

I know there are 2 ways to create a branch. Remotely using a gui version control like GitHub or locally using git bash. When I create a new branch remotely and fetch the changes using git bash, the ...
UnexpectedError's user avatar
1 vote
1 answer
159 views

I am trying to build the CI / CD for learning the Devops CI and CD flows with simple branching strategy. Branch Strategy : | branch name | environment | main --> prod release/* --&...
Madhumitha's user avatar
0 votes
0 answers
77 views

I am in a position where I switch branches in a single repo regularly, working on my own projects, and reviewing collaborator’s code by running it. Often new code will generate intermediary files that ...
escapecharacter's user avatar
0 votes
0 answers
51 views

I recently learned about the 4 types of git branches. Conceptually, I kinda understand, but I'm writing a PowerShell script to get concrete understanding, and I have some questions. Script is ...
joseville's user avatar
  • 1,023
0 votes
0 answers
57 views

I'm trying to get the branch name for a commit in git. I'm using the following command: git name-rev --name-only --always --exclude=tags* HEAD but if the commit pointed by HEAD contains several ...
sagi's user avatar
  • 522
3 votes
1 answer
85 views

I've got a git dag looking something like: * commit A - main | | * commit B - branch1 | | | * commit C - branch2 | | | * commit D |/ * commit E (this is the old main I worked on top of) I ...
beyarkay's user avatar
  • 1,173
0 votes
1 answer
693 views

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,368
-4 votes
1 answer
1k views

I made 6 commits on the master(main) branch, and I added a new branch which starts from the 2nd commit of master branch. But that was yesterday's work. Today, I want to make another brand new branch ...
Karthik's user avatar
-1 votes
1 answer
118 views

I have been working on different branches and anytime task is ready I commit and create a pull request into the dev branch. Till now everything is okej, but is there a way to reverse or remove all ...
Anxheloo's user avatar
0 votes
0 answers
97 views

I'm sure this is a stupid question but I have very little background with git and everything I've learned has been done on the fly and independently, so I'm very much still learning. I have a ...
user25607012's user avatar
-2 votes
1 answer
172 views

I'm working with the framework package (github.com/username/fmk) and I'm facing an issue with version resolution using go get. Current Release Process: Feature Branches: Developers create isolated ...
vignz.pie's user avatar
  • 321
0 votes
1 answer
268 views

I have a project with its base directory named "MyProject". The repo is git managed. The main branch has the MyProject folder and some folders inside. I open a new branch "feature1"...
KansaiRobot's user avatar
  • 10.6k
2 votes
0 answers
292 views

I created a branch feature/EAB-123 from the **test **branch using the following command: git checkout -b feature/EAB-123 test The branch was created successfully. I made changes, committed them, and ...
Vijay Mandanka's user avatar
0 votes
2 answers
398 views

I'm new to this Git and GitHub thing, and I'm having this confusion. So, there are multiple people in my project, and they all work in their own branch (but we all work in the same file/module). File ...
aki's user avatar
  • 57
1 vote
2 answers
103 views

I'm trying to tidy up my local repo by deleting branches I no longer need. I started by listing my merged merge requests in GitLab. Then I displayed the first one, got its branch name, and attempted ...
Jonathan Sachs's user avatar
0 votes
2 answers
3k views

I am pretty new to git. I wanted to create a project and I'm using IntelliJ to clone my repository. Unfortunately, IntelliJ has its own branch being created (called master). Now I want to submit my ...
Lara's user avatar
  • 101
-1 votes
1 answer
58 views

We keep our kickstart code in a git repository so it is consistent across all kickstart servers. We have a small script to display all current branches, ask which one you want to use and then pulls ...
user2664304's user avatar
0 votes
2 answers
97 views

I have two branches A and B which have diverged. I want to periodically synchronize them with each other (commit most changes from B to A, and commit most changes from A to B). When merging in either ...
Zachary Turner's user avatar
0 votes
0 answers
53 views

I am using Sourcetree and PuTTY to try to make a server copy (according to this guide). I have triple checked that all links are correct, all spelling is correct, and that the two empty and ...
Tori Hunter's user avatar
0 votes
2 answers
166 views

I have a local git repo. I push and pull to a remote repo that I share with colleagues and don't want to push unfinished and untested changes. I have a desktop and a laptop computer on which I want to ...
shortwhile's user avatar
0 votes
4 answers
540 views

I had a situation I don't really understand with git 2.26.2: Implementing a new feature in a feature branch (say n-feature), I discovered two minor issues that should be fixed in the main branch (say ...
U. Windl's user avatar
  • 4,748
14 votes
2 answers
592 views

Since Xcode 15, every time my colleagues and I switch git branches (we do this a lot), Xcode seems to "lose" the package dependencies. If we don't notice it immediately, we notice as soon ...
Baldman's user avatar
  • 151
0 votes
1 answer
453 views

I'm using git-subrepo. I've created a git subrepo branch and when I run git branch it outputs something like this: $ git branch * master + subrepo/CurriculumVitae What's the meaning of that + symbol? ...
Alberto López's user avatar
-2 votes
1 answer
53 views

So I have a branch A open from my main/master branch. There's a different ticket from A that I need to work on, which overall like all tickets at the end gets merged into the master. Right now, I have ...
Linuxnoob's user avatar
0 votes
0 answers
60 views

So, I am working on a local repository that was cloned from the company GitHub project page. Some times, when I open the terminal in the GitHub directory, in-line in my command line, the active branch ...
Nailtha's user avatar
1 vote
1 answer
45 views

I have a feature branch checked out from main with a few commits that edit various files in the codebase. However, I realize that in an upcoming PR, I don't want to incorporate changes to a specific ...
Andrew Mascillaro's user avatar
1 vote
2 answers
57 views

As title. I have created a branch to do specific tasks add-ui-components. Unfortunately, I also found some specific changes, let's call it upgrade-webpack-config, that I want to move out of the ...
NeoZoom.lua's user avatar
  • 2,981
0 votes
2 answers
193 views

I'm trying to update a documentation script in Python, as my coworkers and I have recently started working with GIT. The point I'm at and stuck with now is trying to extract a list of the names of ...
Alberto-HdF's user avatar
-7 votes
1 answer
196 views

Whenever I use wsl to make any project and try to add project on git it shows the master as a default branch. But when I use windows to create project it shows main. I want to change the default ...
Arman Eousuf's user avatar
1 vote
2 answers
695 views

I have a Git repository which contains a bunch of remote branches which no longer exist, but when I try to run git fetch -p I get an error: error: refs/remotes/origin/bad/branch does not point to a ...
MadScientist's user avatar
0 votes
1 answer
46 views

I've been committing locally to a feature branch for weeks. About a dozen commits ago, I should have pushed to master and merged, but didn't realize that until now. My log looks like * ba3c9f0 (HEAD ...
dpm's user avatar
  • 1
-2 votes
1 answer
905 views

I have started working with a new dev team, and they have a practive that I can't find in git-book about branch management: They use a single branch to centralize changes and close a tag for every ...
felipe_dmz's user avatar

1
2 3 4 5
66