version-control

Random 'concerns' folders and '.keep' files

核能气质少年 提交于 2019-12-17 18:31:44
问题 I am learning rails. Somewhere along the line, I noticed that seemingly random folders and files are appearing in my rails app's directory. In some folders there is a concerns folder with a .keep file inside it. The .keep file appears to be empty. In other folders there is no concerns folder but an empty .keep file is present. Does anyone know what the deal with these files/folders is? 回答1: .keep files are 0 byte files that are there to stop empty folders from being ignored by all sorts of

How to set a Mercurial VCS build trigger for TeamCity that ignores label operations

感情迁移 提交于 2019-12-17 18:24:40
问题 I am trying to setup a build trigger for TeamCity using Mercurial as the VCS. Right now the trigger looks like: +:/** This trigger get fired when changesets are committed. However, I have TeamCity setup to tag each build in the VCS. The tagging process is firing the above build trigger so the build gets caught in a loop. Can anyone suggest a VCS build trigger that will filter out the tagging process? 回答1: Adding the trigger pattern: -:/.hgtags filters out the .hgtags file from the build

Using Git with VB6

…衆ロ難τιáo~ 提交于 2019-12-17 18:24:12
问题 Our company has a large codebase in VB6, and we currently use VSS which, for all that we hate about it, at least integrates into the VB6 IDE. My own team, which is using .NET, are now looking into alternative SCMs like my personal favourite, Git. With Git Extensions, it seems we will be able to integrate Git commands into the Visual Studio IDE pretty well. However, the question has been asked: could Git be used for our VB6 codebase too? Of course I assume the files themselves would work fine

Reasons for not working on the master branch in Git

[亡魂溺海] 提交于 2019-12-17 18:22:43
问题 So, I'm fairly new to git and I've after a bit of reading around over the last couple of weeks I've read a few people saying that the master branch shouldn't be changed but rather branched from and then merged to. I'm happy enough to work with branches but was wondering for the reasons behind not working on the master branch? 回答1: i guess the usual reasoning is, that the master branch should represent the 'stable' history of your code. use branches to experiment with new features, implement

Using Git with VB6

ⅰ亾dé卋堺 提交于 2019-12-17 18:21:09
问题 Our company has a large codebase in VB6, and we currently use VSS which, for all that we hate about it, at least integrates into the VB6 IDE. My own team, which is using .NET, are now looking into alternative SCMs like my personal favourite, Git. With Git Extensions, it seems we will be able to integrate Git commands into the Visual Studio IDE pretty well. However, the question has been asked: could Git be used for our VB6 codebase too? Of course I assume the files themselves would work fine

Is there any distributed revision control system that supports partial checkout/clone?

*爱你&永不变心* 提交于 2019-12-17 18:19:48
问题 As far as I know all distributed revision control systems require you to clone the whole repository. For this reason is it not wise to put huge amounts of content into one single repository (thanks for this answer). I know that this a not a bug but a feature, but I wonder whether this is a requirement for all distributed revision control systems. In distributed rcs the history of a file (or a chunk of content) is a directed acyclic graph, so why can't you just clone this single DAG instead of

How to find all checkedout files with ClearCase cleartool?

。_饼干妹妹 提交于 2019-12-17 18:19:01
问题 I'm trying to setup our ClearCase with Hudson for a continuous integration (and deployment later). I finally got a UCM view for the build, but unfortunatly our build process checks out files to store the build number. Now the build broke and the file is still checked out, preventing the next build . I already now about cleartool find . -type f , but I can't figure out how to find checked out files. I know the syntax of UNIX' find, so that isn't a problem. Can someone point me to a

Source Control - Lock vs. Merge? [closed]

北城以北 提交于 2019-12-17 17:55:13
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 2 years ago . A lot of programmers who are used Visual Studio have a hard time adjusting to the fact that in other source control systems, files do not need to be locked/checked out to one developer at any given time. Proponents of merging say that allowing two people to work on the same

Git - Store branches in separate local directories

微笑、不失礼 提交于 2019-12-17 17:37:56
问题 I'm rather new to git, and am trying to set up my repository the right way. Basically my app is a platform of sorts, so implementations of this platform are based on the master branch, but have some small modifications to those files as well as some additional files. I tried setting it up as branches, so I have a master branch, implementation_1 and implementation_2 . But as far as I can tell, that would mean that locally all the branches are stored in one directory, with their separation

TFS: How can you Undo Checkout of Unmodified files in a batch file

南楼画角 提交于 2019-12-17 17:36:06
问题 We use a batch file to generate code, and it automatically checks out the generated files from Team Foundation Server (TFS) so that it can regenerate them. The majority of these files are not modified, but the generator does not know this ahead of time. The "tfs undo" command undoes the checkout, but prompts if some have been modified (which we don't want to do). We also do not want to check in the generated files right away. Is there a command (or series of commands) to undo checkout of all