branch

How do I delete a Git branch with TortoiseGit

天大地大妈咪最大 提交于 2019-11-28 15:26:09
Is there an option to delete a branch with TortoiseGit ? I found a solution for the commandline . Is there an implementation in TortoiseGit? Sandro Munda You should read this article: Remote branches with TortoiseGit According to this blog post: ...remove the local branch by first opening up the Checkout/Switch dialog to get at the Browse refs dialog. In the Browse refs dialog we can right click on the local branch and choose to delete it. To delete a remote branch we can do the same thing, but instead of right clicking on our local branch we expand the remotes tree in the left part of the

git remote prune – didn't show as many pruned branches as I expected

陌路散爱 提交于 2019-11-28 15:18:52
From the man page: Deletes all stale tracking branches under <name>. These stale branches have already been removed from the remote repository referenced by <name>, but are still locally available in "remotes/<name>". So I removed a bunch of branches using git push origin :staleStuff and then ran git remote prune origin However, only one single local branch was pruned. Some of these branches were created by me, some by co-workers. Does this indicate that I wasn't tracking those branches correctly in the first place? When you use git push origin :staleStuff , it automatically removes origin

Best branching strategy when doing continuous integration?

亡梦爱人 提交于 2019-11-28 15:12:12
What is the best branching strategy to use when you want to do continuous integration? Release Branching: develop on trunk, keep a branch for each release. Feature Branching: develop each feature in a separate branch, only merge once stable. Does it make sense to use both of these strategies together? As in, you branch for each release but you also branch for large features? Does one of these strategies mesh better with continuous integration? Would using continuous integration even make sense when using an unstable trunk? The answer depends on the size of your team and quality of your source

What are the core concepts of git, github, fork & branch. How does git compare to SVN?

老子叫甜甜 提交于 2019-11-28 15:10:00
问题 I've been using Github for sometime now but I'm getting a bit confused about some key concepts behind Git. My background with VCS started with Source Safe and then transitioned into SVN and TFS. I think I'm stuck in the old way of thinking of CVS system, like SVN and TFS. What is considered server-side and client-side in Git. From what I've understood there isn't a clear distinction between them. In a technical sense, what does a Fork mean. Is it a "type" of branch? Wat does a branch mean in

best practices in mercurial: branch vs. clone, and partial merges?

 ̄綄美尐妖づ 提交于 2019-11-28 15:09:52
...so I've gotten used to the simple stuff with Mercurial ( add , commit , diff ) and found out about the .hgignore file (yay!) and have gotten the hang of creating and switching between branches ( branch , update -C ). I have two major questions though: If I'm in branch "Branch1" and I want to pull in some but not all of the changes from branch "Branch2", how would I do that? Particularly if all the changes are in one subdirectory. (I guess I could just clone the whole repository, then use a directory-merge tool like Beyond Compare to pick&choose my edits. Seems like there ought to be a way

How do I rename my git 'master' branch to 'release'?

大兔子大兔子 提交于 2019-11-28 15:09:47
We would like to enforce a new policy for our projects that the master branch now be called the release branch to ensure it is more clear as to how the branch should be used. Naturally, we will have develop and release candidate branches as well. I understand I can rename the master branch locally by simply using the following: git branch -m master release However, that is only locally. Even if I push this up to the remote, the HEAD still points to the remote master branch. I want to get rid of the master branch completely and make the default local branch upon initial clone, be release. How

Can I unshelve to a different branch in tfs 2008?

空扰寡人 提交于 2019-11-28 15:08:45
Let's assume that some developer in my team shelved his changes that he did in branch A. And I am working on branch B. Can I unshelve his changes into branch B? (By GUI or command prompt) Curt Hagenlocher The Visual Studio Power Tools should let you do this. C:\src\2\Merlin\Main>tfpt unshelve /? tfpt unshelve - Unshelve into workspace with pending changes Allows a shelveset to be unshelved into a workspace with pending changes. Merges content between local and shelved changes. Allows migration of shelved changes from one branch into another by rewriting server paths. Usage: tfpt unshelve

Git : List all unmerged changes in git

对着背影说爱祢 提交于 2019-11-28 15:06:34
问题 Creating a branch for various topics, and not regularly deleting them when I don't need them any more, I have now ended up with about 50 branches ;) I tried deleting branches and some of them have unmerged changes. What I want is the ability to see exactly what changes are there in any branch on my repo that are not in the master. Is there a way to do that Thanks in advance. 回答1: To list branches with commits not merged into master: git branch --no-merged master To list the relevant commits:

Git merge errors

浪子不回头ぞ 提交于 2019-11-28 14:58:42
I have a git branch called 9-sign-in-out with perfectly working code, and I want to turn it into the master. I'm currently on the master branch. $ git branch 9-sign-in-out * master I'm trying to switch to 9-sign-in-out branch, but it doesn't allow me to: $ git checkout 9-sign-in-out app/helpers/application_helper.rb: needs merge config/routes.rb: needs merge error: you need to resolve your current index first Any idea how can I ignore all the master branch errors and turn the 9-sign-in-out branch into the master? Maybe git rebase ? But I don't want to lose the code in 9-sign-in-out branch.

What is trunk, branch and tag in Subversion? [duplicate]

若如初见. 提交于 2019-11-28 14:57:19
Possible Duplicate: What do “branch”, “tag” and “trunk” really mean? What is a trunk, branch and tag in Subversion and what are the best practices to use them? What tools can I use for Subversion in Visual Studio 2008 ? David Schmitt The trunk is the main line of development in a SVN repository. A branch is a side-line of development created to make larger, experimental or disrupting work without annoying users of the trunk version. Also, branches can be used to create development lines for multiple versions of the same product, like having a place to backport bugfixes into a stable release.