I have a repository in GitLab and I imported it into Github. Now, I changed my code in local machine, Is it possible if I push the changes in Github without pushing it on GitLab?
Asked
Active
Viewed 13 times
0
-
2Yes, you can have two remotes in the same sandbox. Use `git remote add other-remote-name other-remote-url` and then you can fetch and push from either remote. All you need to remember is that each push operation can specify which remote you want to push to. – joanis Oct 27 '22 at 22:48