I need to work with an intricate configuration of repositories. I have 5 of them:
So, my understanding that it works this way:
Now I did some changes on the machine 3 and I want to push these changes to machine 4. Here are the instructions that I need to follow:
I have problems with step 4. I get the following error:
fatal: 'machine3/test-branch' is not a commit and a branch 'test-branch' cannot be created from it
ADDED
When I execute
git rev-parse machine3/test-branch
On my laptop (machine 2) I get:
machine3/test-branch
fatal: ambiguous argument 'machine3/test-branch': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'
The question is complex / convolute, the answer is simple. There was a mismatch between the alias and machine3. The alias for the remote that has been used, was not for machine3. The machine3 had another alias.