Excuse the fairly simple question, but I'm a Git newbie. How do I force a developer to make a change to a file that is associated to the 'parent' file that he/she is changing/committing? We are a Windows shop using GitLab, SourceTree and TortoiseGit.
Force a change to a linked file
23 Views Asked by sid At
1
There are 1 best solutions below
Related Questions in GIT
- problem to push files on a repository git
- diff3 output in git conflict style, including mergeable hunks
- Git Not In Sync with Local Branch
- Setting up the version control of .dotfiles while the .config is connected to a forked repo
- How to fix overriding the main branch in Git?
- I can't add text to "Message" in VS Code when committing to Git
- How can i redirect pull request from main branch to another branch
- Xcode commits (possibly outside of any branch) disappeared, how to get them back?
- Git/TortoiseGit : how to apply ONLY the changes from ONE commit from branch A, to branch B?
- How can I reintroduce username an password on git using fedora?
- GIT SKIP EMPTY DIRECTORIES
- Git smudge run once per checkout or per commit?
- I can't find ~/.profile or ~/.bashrc in C:/Users/<user>/.ssh folder
- Set environment variable during push for GitHub Actions
- Android WebRTC compile
Related Questions in GITLAB
- There are no active runners online GitLab
- Error rising in gitlab configuration file
- Git commit asks for passphrase which I don't remember
- On Gitlab, is there a way to allow Maintaners to merge MRs even if some checks fail?
- Jenkins pipeline script: Accept merge request from Gitlab
- How to integrate GitLab code into SAP DataServices job?
- How to use dynamic value for start_in using environment variable in gitlab pipeline child job
- Replace React Variables in build folder before serving the build by express Server
- Gitlab CI/CD pipeline not destroying created Terraform created resources
- DevOps Preference: Point Solutions or Single Platform?
- GitLab release-job creates a release where asset is artifacts.zip instead of concrete file
- How to run particular jobs in GitLab CI/CD via GitLab API?
- How to start from a clean stage after maven release job fails in GitLab pipeline?
- Gitlab 16.10: The scheduler failed to assign job to the runner, please try again or contact system administrator
- Gitlab-runner cann't connect to gitlab server
Related Questions in ATLASSIAN-SOURCETREE
- Dealing with untracked changes in git
- Sourcetree Resolve Conflicts by Theirs Issue
- How to integrate JIRA with AWS dynamodb service, If any story/task movement has been occured on jira dashabord it should reflect on the AWS dynamodb?
- Sourcetree GUI : Why main branch is behind another branch? Is it normal?
- Sourcetree caches old branches that no longer exist on github. I do not want this
- Bitbucket: how to display differences between current commit and previous commit
- Fetch remote changes with out changing branches in SourceTree
- What's git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags --set-upstream origin master:master
- In SourceTree, Clone seems to bring submodule files from GitHub repos then seems to delete them
- Tool like SourceTree or similar to work on remote server trough SSH
- Is there any merge tool for Macbook Air M2?
- Basic Question on SourceTree functionality: generic repository support?
- How can I copy the Sourcetree stashes from old PC to a new one?
- I can't do anything(push/pull/fetch) using the GUI of SourceTree (credentalhelperselector, git-credential-manager-core)
- Git tags moving from one remote branch to another
Related Questions in ATLASSIAN-FISHEYE
- Recommendations for a good peer code review tool?
- How do I get licensing information of confluence via rest API?
- Importing FishEye keystore issue
- How to get the related JIRAISSUEKEY of given changeset ID using FishEye REST API request or EyeQL or Anyother possible way?
- Subversion repository with multiple projects confuses Fisheye
- Fisheye: Make fisheye as a service
- Integrate Atlassian Jira with SVN
- How to select branch name with EyeQL?
- Fisheye/Crucible syntax highlighting for Kotlin
- Is it possible to edit source on SVN directory from Crucible?
- Force a change to a linked file
- Atlassian Fisheye Crucible - Init.d service fisheye No default permission scheme exists Error creating bean with name 'defaultMentionParserListener'
- Why Fisheye charts does not consider that files were deleted?
- Enable Perforce job creation for each issue that is created on JIRA
- Cant expand SVN revision with FishEye
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You add a pre-receive hook to the GitLab repository where he pushes to. In the script you can validate all newly pushed commits to make sure the commit contains both files or none of them. If the script fails, the push is aborted and the dev has to fix his commit first.