branch

Rename TFS 2013 Branch

匿名 (未验证) 提交于 2019-12-03 09:06:55
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: We are using the release number for TFS branches. I have just created a new TFS branch with an upcoming release number. However, the client has since changed the release number which we would like to keep parallel TFS branch name. The branch is new and no changes have been made to it yet. What issues I can expect if I rename the branch? Is it better to create new branch from main with the new release number? 回答1: A rename is a branch+delete under the covers. You would be best creating a new branch with in tact history. 文章来源: Rename TFS 2013

Xcode 6 how to remove branch in origin

匿名 (未验证) 提交于 2019-12-03 09:06:55
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have two question about Xcode 6 by operational git version control. 1. I created a branch xxx and push this branch to server ,but I don't want it anymore, can I remove it. When I selected origin branch (Test01,Test02) , I couldn't click remove sign "-". If selected local branch it can click remove sign "-". 2. Does any way to checkout old version from server in Xcode 6? I using Visual Studio Team Services git version control thanks ... 回答1: If XCode doesn't allow that operation, you can at least fall back to the git command line and:

How to do emergency fixes on master in git?

匿名 (未验证) 提交于 2019-12-03 09:05:37
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have committed some changes (r5,6,7,8) to master and pushed to origin. Other people have pulled. Now master is supposed to be deployed in 2 days, but there is an emergency and something needs to go out today. What's the best practice for this? Do I create a new branch off of r4 and deploy that branch and then merge this branch into master? Someone on IRC said to temporarily revert them, commit, then unrevert them, but am trying to grasp how this would be better or how this works. 回答1: Someone on IRC said to temporarily revert them, commit,

Git fetch remote branch

匿名 (未验证) 提交于 2019-12-03 09:05:37
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: My colleague and I are working on the same repository we've branched it into two branches each technically for different projects, but they have similarities so we'll sometimes want to commit back to the *master from the branch. However, I have the branch, how can my colleague pull that branch specifically. A git clone of the repo does not seem to create the branches locally for him, though I can see them live on unfuddle after a push my end. Also, when I originally made the branch I did -b checkout . Not sure if that makes much difference?

File is shown as deleted while merging branch to trunk

匿名 (未验证) 提交于 2019-12-03 09:02:45
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: i am merging branch to trunk using tortoise svn option Merging Two Different Trees I have file i.e file1 under trunk but not on branch I have checked out trunk to my local .then did Right- click > Merge > Merging Two Different Trees > mentioned from as trunk url and to as branch url > Test merge Now file1 is shown as deleted under Test merge results but why ? Ideally it should ask me that this file does not exist under branch but exist on trunk. Do you want to keep it or not ? Is there an option of doing it ? UPDATE :- on 1st june i created

Git pull gives conflicts with octopus strategy

匿名 (未验证) 提交于 2019-12-03 09:02:45
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Lately when I run git pull in my master branch it occasionally gives the following merge error: Trying simple merge with 7ff9b5... Trying simple merge with 6872cd... Simple merge did not work, trying automatic merge. Auto-merging file.txt ERROR: content conflict in file.txt fatal: merge program failed Automated merge did not work. Should not be doing an Octopus. Merge with strategy octopus failed. However after this merge attempt there are files that aren't even in the master branch. I can fix this issue using git reset and pulling again but

Git: Get a subfolder from a repository to a new one without losing history

匿名 (未验证) 提交于 2019-12-03 09:02:45
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have a git repository of an application with multiple branches. The source tree consists of several directories. E.g: main_folder |--> . git |--> dir0 |--> dir1 |--> dir2 Unfortunately, from the beginning of the development I didn't use git-submodules nor git-subtree . Now I want to move one of the directories, e.g dir0 to a new repository as a new stand-alone application, Of course if possible, I want to keep both history and branches of the corresponding directory. So I have two questions: The first and obvious one is how I can

error: src refspec my-branch does not match any

匿名 (未验证) 提交于 2019-12-03 08:59:04
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I created a feature branch from the master branch, and added and committed some change to my branch. Now I want to push my work to the remote repository, but it failed. What can I do to solve the problem? Thanks. When running git push command, it didn't ask for my password. Is it normal? p.s. I am using Windows 10's cmd. > git push origin my-branch error: src refspec my-branch does not match any. error: failed to push some refs to 'https://git.xxx.net/Infrastructure' >git commit -m "my work" On branch my-branch nothing to commit, working

Git: keep specific files unmerged

匿名 (未验证) 提交于 2019-12-03 08:57:35
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is it possible to keep some file unmerged all the time? What I want is: If there are two branches (A) and (B), and they have the same file. For example, In branch (A) the file "setup" has the following: this is setup in a branch A In branch (B) the file "setup" has the following: this is setup in a branch B These branches don't have uncommitted files (Different commits for the same files in different branches). The GOAL is to keep these files not touched after merging these branches. The solutions in How to tell Git to always select my local

Is there a way to configure Ivy to get dependencies from a branch without editing every dependency concerned?

匿名 (未验证) 提交于 2019-12-03 08:56:10
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have a number of projects here that have dependencies between each other as well as to external libraries. Dependency management is done with ivy and our own repository. We recently had to branch because there is one version of the projects that is in QA and another one where current development is done. The problem is that I can't find a way to use ivy in the new branch without adding the branch attribute to every internal dependency. I thought about adding the branch attribute to the resolve task and activating inline mode but