0

In source control is it possible to enforce simultaneous updates for multiple files at the same time by establishing some link between them?

e.g.:

File_A shares some settings with File_B, hence source control enforces check out/in both files at the same time?

denfromufa
  • 5,610
  • 13
  • 81
  • 138
  • Define what you mean by check-in/check-out. I think in svn and git there's no such thing. Are you referring to TFS? – Cristian Lupascu Oct 26 '15 at 14:56
  • In Git, when you pull from the repository, _all_ files in that branch will be updated, so this concept may not really be applicable in Git. – Tim Biegeleisen Oct 26 '15 at 15:02
  • In git, this can be enforced during analogical merge operation – denfromufa Oct 26 '15 at 15:04
  • 1
    What is an `"analogical"` merge operation? – Tim Biegeleisen Oct 26 '15 at 15:04
  • analogical to check-in behavior – denfromufa Oct 26 '15 at 15:15
  • Commits in every system I've seen are multi file operations. Same with Update. If you want to force a user to pass some test in order to commit, a pre-commit hook (hg, and likely something similar in git) could be used. – storm Oct 27 '15 at 19:21
  • Possible duplicate of [dropbox-style svn/git/mercurial?: auto-commit upon change and auto-checkout](http://stackoverflow.com/questions/7060769/dropbox-style-svn-git-mercurial-auto-commit-upon-change-and-auto-checkout) – Paul Sweatte Aug 30 '16 at 17:11

0 Answers0