pre-commit
Hosted Solution for Version Control -- with pre-commit hooks?
Can anyone suggest a hosted solution for SVN, Git, or Mercurial (preferred) that offers the ability to configure certain pre-commit hooks? For example, when JS is committed, I\'d like it to pass JSLin[详细]
2023-04-11 02:43 分类:问答What is the format of the deltas in a subversion respository, and how badly can I blow it up if I change them in a pre-commit hook?
Help me do some damage! I\'m tired of just a half-dozen Google hits that tell me never to do this. Let\'s muck things up real good! I\'m pretty sure that I can get ahold of the actual files in db/tran[详细]
2023-04-08 03:30 分类:问答How to test current commit and not the working tree?
I am trying to set up a pre-commit hook to test my project before any commit goes through, but I can\'t find how to make sure that only HEAD (with patches from the current commit) are tested and not t[详细]
2023-04-06 13:36 分类:问答Is there a way to auto-resume in a subversion commit?
I ofen get transaction errors when committing. These, as far as I know, are as result of commits that fail halfway through. Is there away, preferably using开发者_如何学Go a GUI such as TortoiseSVN, th[详细]
2023-04-06 12:45 分类:问答mysqldump schema only, schema update without drop
I\'m looking at using the git pre-commit hook to export a MySQL db schema prior to commiting chan开发者_StackOverflow中文版ges so that other developers can update their own databases with a SQL script[详细]
2023-02-26 20:02 分类:问答Unable to write an error message when on a pre-commit hook
I\'m writing a pre-commit hook, or better, I\'m editing the hook that comes standard on the tigris SVN release.[详细]
2023-02-17 19:11 分类:问答How can I share a commit-hook in mercurial with all fellow developers?
we are working with mercurial and now we would like to introduce precommit h开发者_开发技巧ooks to keep the code clean. We would like everyone to somehow get the hooks, but we would also like to be ab[详细]
2023-02-09 01:06 分类:问答Can a git pre-commit hook add a file to the repo?
I\'m keeping a text file of my git log in my working directory, and I have a script that updates it after a commit. This is fine, but the effe开发者_运维百科ct of this is that the version that is insi[详细]
2023-02-07 03:49 分类:问答Why would my SVN pre-commit hook work locally, but not on commit?
I have the following pre-commit hook to use JavaScript Lint for checking JavaScript files before committing:[详细]
2023-01-28 07:04 分类:问答Temporarily clearing untracked files before commit in Git
Whenever I commit, I worry that I may have missed out a dependency and I\'m looking for the simplest way to test my git tree in isolation to ensure whatever is in the git index (\"staged\") will in fa[详细]
2023-01-23 11:21 分类:问答