Fancy Repo Syncing #

Last updated March 17, 2026
git

If you have two local copies of a repo, you can add one as a remote for the other, to push branches between them.

First, add the second dir as a remote for the first, giving it a name (josh_fork in this case).

git remote add josh_fork ../hiero-consensus-node-personal

Then push to that local remote with -u.

git push -u josh_fork