Most voted "branch" questions
23 questions
Sort by count of
-
44
votes2
answers21131
viewsWhat does branch, tag and trunk mean?
What they mean and what best practices to use them?
-
6
votes1
answer16437
viewsGIT Switch branch without commiting or discarding current changes
I need to submit my current changes to another branch. When giving git branch-name checkout it asks me to commit or change the current changes, I don’t want any of those options. How can I proceed?…
-
6
votes3
answers11154
viewsCreate local branch from a remote branch
I have a cloud branch on Github called x1 and I need to create a local branch called xlocal from that cloud branch called x1. How do I do that?
-
5
votes3
answers1301
viewsMove folder/files between repositories without losing Change history
Context: I have a versioning environment in Mercurial using Tortoisehg for viewing and commits and files. I want to move a folder from one repository to another and without losing change history,…
-
5
votes1
answer144
viewsHow to manage a project with several variations?
How you manage the development of an application that is replicated to multiple customers? My setting: An application web and 2 apps (1 for iOS and 1 for Android). For each client the base (master)…
-
5
votes2
answers3965
viewsHow do you "synchronize" a branch with a master before working on it?
I’m in the following situation: I have a Git repository, and at a certain point I created a branch from master. I didn’t do much in that branch at the time, and then I advanced the master branch…
-
5
votes2
answers4605
viewsGIT - Commit to another branch
I am working on a project that has two branchs (master and dev). I started the implementation of a new Feature in the system but, halfway through, I realized I was making the changes in the master,…
-
4
votes2
answers782
viewsHow to delete git branches that don’t exist on the remote
In my current project, I locally created several branches for local testing - all from master. Now, I have more than 20 local branches that don’t exist on the server. I wanted to clean up here, and…
-
3
votes2
answers695
viewsHow to replicate master update for branches on Team Foundation Server?
I am working on a project that has 3 branches. After some time the team saw the need to change the error treatment, which is common among the 3 branches. Is there any way to change the master and…
-
3
votes1
answer57
viewsGithub Collaborators deleting Branchs
On Github how do I set up so that my project’s collaborators do not delete the branchs? There is no restriction to delete in the project’s Settings. Thank you
-
2
votes2
answers1059
viewsHow important is the branch in versioning?
Because creating branches is important in software versioning, rather than just using "master" (in large, medium, small or even personal applications)? What advantages do I have in using them? A…
-
2
votes1
answer1628
viewsHow to copy SOME files from one branch to the other?
I have 2 branch, "B1" and "B2". I need to copy files from "B2" which is more evolved and move to "B1", but some files I don’t want. How do I?
-
1
votes2
answers847
viewsBest practice for handling branchsets in SVN
Here in the company we use SVN for versioning. We have TRUNK that is available for approval before going into production and generating a TAG, and we also have BRANCHS that symbolize each demand.…
-
1
votes1
answer144
viewsError downloading branch in git
I was working on a branch on my personal machine, and when I went to download it on the company machine, using the windows power shell, I got the following message: PS projeto> git checkout -t…
-
1
votes1
answer887
viewsI am not able to finish the merge always appears this error:
fatal: Exiting because of an unresolved conflict. U course-git-blog-project When I merged a branch, it conflicted with the code on the master branch. I correct the code in hand, saved index.html but…
-
1
votes3
answers39435
viewshow to create a new branch on Github?
I wonder how to create a new branch on Github I already have the master branch created and I didn’t see any "create branch" option, someone can help me?
-
1
votes1
answer74
viewsHow do I delete a commit in the Github remote repository?
I had never been in this situation, I have a public repository on Github and I need to delete the last 5 commits I did, both from the location and the remote that appears to everyone on Github. How…
-
0
votes1
answer483
viewsHow to delete (multiple) branches from a Git repository?
I want to create a repository Fork that has dozens of branches, but I will only use 2 branches. I wanted to know A simple way to delete all branches that I won’t use because I’ve been trying to…
-
0
votes1
answer249
viewsIs there a command that shows how many commit was done on the branch ?
I’ve always had curiosities about these things, there’s some command in git that shows how many files the branch owner has moved up to the repository ?
-
0
votes1
answer81
viewsGit is allowing branch changes even with commit-free changes
Usually when I work with git, I make some changes to one branch and try to check out another without committing it displays the message: Changes not staged for commit: (utilize "git add…
-
0
votes0
answers134
viewsIs it possible to transfer files from a branch to a main branch? (Github)
Hi guys! My question is about Github. I moved files to a branch that is not main, and I want to move to the main branch (main). Is there a command in Git Bash to do this? (In case it would be files…
-
0
votes0
answers47
viewsgithub branch in git
I made a Fork of a project I’m doing in a group, in Github through the branch tabs I made 3 new branch, in my local repository in the Windows 10 operating system I type the git branch command to…
-
-1
votes1
answer48
viewsChange global branch to main in Ubuntu 20
How do I permanently (globally) change the git branch from "master" to "main" in Ubuntu 20?