Skip to content

Instantly share code, notes, and snippets.

@anatooly
Created February 17, 2022 14:47
Show Gist options
  • Save anatooly/502618ee6b73b9946350ea83b07db084 to your computer and use it in GitHub Desktop.
Save anatooly/502618ee6b73b9946350ea83b07db084 to your computer and use it in GitHub Desktop.
Git push code to dev (origin/master) & customer repo (customer/main)
git remote add customer [email protected]:anatooly/test.git
git co -b main <Initial commit>
git merge --squash master
git commit -m <Commit text>
git push customer
or
rsync -rv --exclude=.git --exclude=node_modules --exclude=.next dev-dir/ customer-dir
manual commit & push from customer-dir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment