Gergely Polonkai schreef op 24-05-2017 21:24:

I think you want to solve a problem with Git that should be solved by some other process. As nothing prevents you from committing both local file modifications *and* submodule updates (in fact, it can be useful in a lot of cases), this becomes process related instead of tool related.

However, you want to use a screwdriver to handle nails. Have a review process, where other developers reject your commit if it contains anything but the submodule update. Have a CI machinery that enforces this. Or anything along these lines. Git is a powerful tool, but it won't solve all your problems.

You are making a mistake. I don't have other developers.

I asked about locking a local repository (copy), that's all.

Regards.

--
You received this message because you are subscribed to the Google Groups "Git for 
human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to