Is it possible to have a clone of a clone of a repository?
For example,
GitLab repo >(cloned to)> Local shared folder >(cloned to)> local working folder
whereas the "local working folder" is where the user can make changes, which are then pushed to the "Local shared folder". Then, once enough changes are made, the "local shared folder" is pushed into the "GitLab repo"?
May be you want two separate remotes where one can act as your local shared repo.
You should setup two different remotes and have one of it shared with everyone and the second restricted for only those needed to push everything from remote A to remote B.
Here is a nice article on working with multiple remotes - https://mmikowski.github.io/git-cross-origin/
Here's official git documentation - https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes
You can set this up in Sourcetree using settings -> remotes in each repo.
Hello, thank you for replying.
So, the local master repository would still need a remote, right? In order for users to be able to push and pull off of it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.