I have three computers that must have the same settings for all of their applications. Since all of them have processes running using these settings, I never want to click, instead, I would like each of them to track the other two and pull it out only when I logged in.
After we work in a couple of days, all the articles that I found seem to suggest that you want to push to the central repository before pulling it out of other machines, but this seems like a waste of space and (transferring) time. Are there any guides that can explain how to do this?
Edit 2: Pat Notz gave the necessary advice to fix .git / config:
[branch "master"] remote = machine2 merge = refs/heads/master [remote "machine1"] url = ssh://192.168.0.4/~/settings fetch = +refs/heads/*:refs/remotes/machine1/* [remote "machine2"] url = ssh://machine2/~/settings fetch = +refs/heads/*:refs/remotes/machine2/*
Edit 3: Thanks so much for the answers. The result can be found in a separate message.
, git pull - . pull fetch merge; (, ) , . , , , - . , . Git , , , , , Git .
git pull
pull
fetch
merge
, pull , . : merge. , , Git , . , , , , , - . , - . , . A B, B A .
git fetch , pull. , - :
git fetch
git fetch A git rebase A/master
"A/master" , . A/master, , , .
A/master
. A, B, A,
git pull A
git pull , .
Source: https://habr.com/ru/post/1722858/More articles:Upload file to Google Code Hosting using PHP and fsockopen () - postКак использовать сервер базы данных для распределенного планирования заданий? - databaseIs this particular concatenation of paths in Perl code available? - securityASP MVC Foreign Key Submit Problem - asp.netПостоянная ссылка/лучшая практика - sqlHow to call a browser through Java coding? - javaReady-made image processing solution - phpHow to make a new list elsewhere, Lisp - listSilverlight ui upgrade issue - multithreadingDjango selects model objects based on time at intervals on the model itself - djangoAll Articles