Created
February 17, 2022 14:47
-
-
Save anatooly/502618ee6b73b9946350ea83b07db084 to your computer and use it in GitHub Desktop.
Git push code to dev (origin/master) & customer repo (customer/main)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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