version-control

How to show full history of tags in git?

房东的猫 提交于 2019-12-13 06:17:51
问题 Tags in git can apparently be moved from one commit to another by simply deleting them and then re-tagging. For example: git tag -m "Version 1.0" v1.0 abcd123 git push --tags git tag -d v1.0 git tag -m "Corrected version 1.0" v1.0 1234abc git push --tags How do I see the entire history of a particular tag? (In other words, any time a tag with that name was created/deleted, and what commits each one pointed to) How do I see the entire history of all tags? 回答1: They can also be moved by force:

Git - repository and file size limits

泄露秘密 提交于 2019-12-13 05:50:19
问题 I've read at various internet resources that Git is handling large files not very well, also, Git seems to have problems with large overall repository sizes. This seems to have initiated projects like git-annex, git-media, git-fat, git-bigfiles, and probably even more... However, after reading Git-Internals it looks to me, like Git's pack file concept should solve all the problems with large files. Q1: What's the fuss about large files in Git? Q2: What's the fuss about Git and large

Free or inexpensive VCS with “Lock” instead of “Merge”?

会有一股神秘感。 提交于 2019-12-13 05:23:10
问题 I've been using several VCS systems and wondered: Is there any free or inexpensive VCS with ability to lock files instead of constantly merging? Almost all the open-source VCSs out there support merge... but if you generate 1 too many revisions, there is too much to merge and after while, source code goes crazy trying to deal with all the merges. Problem: We have a team that generates ~ 100+ changes per day and merging a team of changes leaves us swamped with many, many changes each developer

TFS generate report like VSS for source control

别说谁变了你拦得住时间么 提交于 2019-12-13 04:49:28
问题 In VSS, it was possible to generate a complete list of the files that were children of the current folder. This could be accomplished by selecting Tools -> Files Report , which could be output to a printer, file or clipboard. Does similar functionality exist in TFS for a list of source control files( not work items, bugs, etc.)? 回答1: First start Visual Studio Command prompt. Change folder to your source folder. Then write this: tf.exe dir -r You can read more about tf.exe on MSDN here: Tf

Restrict the content of push's to avoid accidental pushes to the development branch

我怕爱的太早我们不能终老 提交于 2019-12-13 04:39:46
问题 (This is a follow-up question to my earlier question about how to manage standard development and customer-specific development in a cvs.) We are using different branches in mercurial to distinguish between standard development (development of our standard software) and customer-specific development (development of customer-specific modifications of our standard software). So, lets say we have the following branches: default (standard development branch) revision1.0 (standard development

CocoaPods version control, must use pod install when cloning repo

被刻印的时光 ゝ 提交于 2019-12-13 04:33:14
问题 I have a question about using CocoaPods and working with version control. I have my project on a repo at GitLab. But if someone wants to clone that repo and work on it they have to use the pod install command. I thought that if you push you project with pods to a repo you don't have to use pod install when cloning it. Or is it something I have done wrong? This is how the current .gitignore file looks: xcschememanagement.plist Pods-AFNetworking.xcscheme Pods.xcscheme Breakpoints_v2.xcbkptlist

How to get Tortoise HG to detect changes in files based on directory again

*爱你&永不变心* 提交于 2019-12-13 04:31:53
问题 The simplest way I can describe this is that I have a project in Windows 7 under version control with tortoise HG version 2.8.1 using Mercurial-2.6.2, I am using bitbucket.org as my remote repository. When I go to click HG commit on a folder with a red exclamation point on it (meaning files that need to be committed). It tells me No files found for this operation But when I click on files in that directory that have the red exclamation point, It brings up the normal commit menu expecting me

How to update forked repo with original repo if both forked repo and original repo has some commits pushed?

青春壹個敷衍的年華 提交于 2019-12-13 03:54:53
问题 I have following situation: There is a repo with name "MASTER". Fork "MASTER" to create "FORK_MASTER". Suppose there are 10 commits pushed on "MASTER" and there are some two commits pushed on "FORK_MASTER". Now I want to update FORK. How to achieve it? My attempt to do same. I did following steps for achieving this: 1) Set up upstream for "FORK_MASTER" to "MASTER". 2) git fetch upstream 3) git rebase upstream/develop 4) git push origin But git throws conflict after step 3 i.e. git rebase

Git command - Repository heads not listed while using -h switch with “HEAD” option

痞子三分冷 提交于 2019-12-13 03:41:58
问题 There is a git repository in my LAN. I try to query Git to list all the HEAD references in the following way: Method 1 Command git ls-remote -h username@{ip-address}:/path/to/repo Output f0467f266dee55cd32f2ca6fa819814f367db899 HEAD Method 2 Command git ls-remote username@{ip-address}:/path/to/repo HEAD Output f0467f266dee55cd32f2ca6fa819814f367db899 HEAD Method 3 Command git ls-remote -h username@{ip-address}:/path/to/repo HEAD When using the above command, the head reference which was

Mercurial: Windows client for remote development

纵饮孤独 提交于 2019-12-13 02:45:56
问题 This question was migrated from Super User because it can be answered on Stack Overflow. Migrated 9 years ago . We have a test server where every developer has their own sandbox. In fact, our web project is so huge that we can't allow developers to edit everything even in sandbox. For example, there are some password files from some other web services that developers don't have permissions to see. Anyway, the thing is, we can't allow developers to clone whole projects to their own PC's for