version-control

How to use version control with VBA code?

社会主义新天地 提交于 2020-01-20 14:39:13
问题 I am developing a VBA application which is quite large. I want to use SVN for that application developing. How can I split my modules from the Excel document and how to upload my modules separately to source control? Please help me. 回答1: Check out this excel addin https://github.com/hilkoc/vbaDeveloper . It exports all your vba code automatically, as soon as you save your workbook. You can also easily import it again, when you open a workbook. It all work very nicely. As a bonus, it comes

How to use version control with VBA code?

最后都变了- 提交于 2020-01-20 14:37:12
问题 I am developing a VBA application which is quite large. I want to use SVN for that application developing. How can I split my modules from the Excel document and how to upload my modules separately to source control? Please help me. 回答1: Check out this excel addin https://github.com/hilkoc/vbaDeveloper . It exports all your vba code automatically, as soon as you save your workbook. You can also easily import it again, when you open a workbook. It all work very nicely. As a bonus, it comes

How to commit only the file names listed in an external file

旧城冷巷雨未停 提交于 2020-01-20 07:22:49
问题 I have a source tree with a bunch of modifications. I selected a big list of files and put then into a file. Is there a way to commit only these ones? I want something like: git commit --files "/tmp/files-to-commit.txt" -m "Fixed bug" 回答1: git add `cat /tmp/files-to-commit.txt` git commit -m "Fixed bug" The `` do shell expansion. So if you have the names of files in a file, cat'ing them out will list them as args. 回答2: The files was stagged already, therefore I did not need to add them using

How to commit only the file names listed in an external file

 ̄綄美尐妖づ 提交于 2020-01-20 07:22:08
问题 I have a source tree with a bunch of modifications. I selected a big list of files and put then into a file. Is there a way to commit only these ones? I want something like: git commit --files "/tmp/files-to-commit.txt" -m "Fixed bug" 回答1: git add `cat /tmp/files-to-commit.txt` git commit -m "Fixed bug" The `` do shell expansion. So if you have the names of files in a file, cat'ing them out will list them as args. 回答2: The files was stagged already, therefore I did not need to add them using

How to convert mercurial repository to git repository without losing branches?

不羁岁月 提交于 2020-01-19 17:09:48
问题 I want to convert mercurial repo to git repo. Actually I did but I didnt see branches. After I converted repo I can see just one branch(as master) I cannot see any other branches but I can see history(all changes) as right. when clicked any commits I can see like this information : Date: 19 Nisan 2019 Cuma 15:14:37 Committer: sevgi.cakmak Change dialog header --HG-- branch : sevgi-2.0.0 but I cannot see sevgi-2.0.0 branch on the left side (I am using sourcetree). My steps: mercurial.ini file:

How often to commit changes to source control? [closed]

心不动则不痛 提交于 2020-01-18 11:09:55
问题 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 4 years ago . How often should I commit changes to source control ? After every small feature, or only for large features ? I'm working on a project and have a long-term feature to implement. Currently, I'm committing after every chunk of work, i.e. every sub-feature implemented and bug

Which, if any, folders do I need to create before checking out a TFS project?

纵然是瞬间 提交于 2020-01-17 13:21:44
问题 The path to the project I need to check out is displayed in the TFS Source Control Explorer this way: Handheld Development Development HDP HDP Or, in the "Source location:"this way: $/Handheld/Development/Development/HDP/HDP The code that I need to check out and work on is in that last folder. So what do I need to do before right-clicking that second "HDP" folder and selecting "Get Latest Version"? IOW, do I need to create an empty folder or folders first for TFS to find, or will it create

Which, if any, folders do I need to create before checking out a TFS project?

倖福魔咒の 提交于 2020-01-17 13:21:12
问题 The path to the project I need to check out is displayed in the TFS Source Control Explorer this way: Handheld Development Development HDP HDP Or, in the "Source location:"this way: $/Handheld/Development/Development/HDP/HDP The code that I need to check out and work on is in that last folder. So what do I need to do before right-clicking that second "HDP" folder and selecting "Get Latest Version"? IOW, do I need to create an empty folder or folders first for TFS to find, or will it create

Backing up source files managed by source control software: TortoiseSVN

三世轮回 提交于 2020-01-17 08:40:13
问题 I am new to source control and I am confused with something I read on a webpage yesterday (I don't have the link). I have followed these instructions: "create folder structure", then "Start Reprobrowser", then copy source files into trunk folder. Please see the screen shot below: However, when I navigate to the folder using Windows Explorer I do not see this folder structure. I see this: Therefore I am wandering: where are the files physically stored? The reason I ask is because I want to

Git command to find backported commits in Linux Kernel Repo

℡╲_俬逩灬. 提交于 2020-01-17 03:40:53
问题 Consider the Linux Kernel Git repository. The new versions of the kernel contain the backport of upstream fixes. E.g. v4.3.4 and v4.1.16 both contain the commit 23567fd052a9abb6d67fe8e7a9ccdd9800a540f2. However, backporting that commit to those branches was itself a new commit, c23d6de841098d408ceb573cbc9f4dcf7c92a786 for 4.3.4 and b71567e6c9a2b15b7be9cb8ca695e9c990c0513b for 4.1.16. As far as i can see, the ID of the original commit (23567fd0..) is now only part of the comment in those new