Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Best practices
0 votes
17 replies
135 views

Have you ever heard of this work: 1.Checkout main and create a feature branch off main instead of develop 2. Implement the feature on the feature branch 3. Merge feature branch into develop and ...
Advice
1 vote
7 replies
98 views

I have a team that has two Git repositories for the same application, and I'd like to graft one on to the other, and I'm not sure if that's possible or how to go about that or the right terminology to ...
Score of 0
1 answer
99 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 ...
Score of -2
3 answers
369 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 ...
Score of -1
2 answers
201 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 "...
Score of 6
1 answer
102 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 ...
Score of 2
2 answers
175 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/...
Score of -1
4 answers
144 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 ...
Score of 0
0 answers
64 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 ...
Score of 1
2 answers
212 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 ...
Score of 1
2 answers
225 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 ...
Score of 2
2 answers
2874 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 ...
Score of -1
1 answer
100 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 ...
Score of 0
1 answer
79 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 ...
Score of 1
1 answer
189 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/* --&...

15 30 50 per page
1
2 3 4 5
219