Daily Archives: January 16, 2020
Git working with Remote Repos
What we do is that we will fetch the repo, make changes then add another remote repo and push
Create a folder
Issue the below commands
$ git clone <remote_repo>
$ cd <repo_name>
# Make changes to the repo
$ git remote -v //lists all the Remote Repo’s Associated with
$ git remote show origin //Check the Remote Fetch and Push URL
# Im going to add a remote Repository for push
$ git remote set-url --add --push origin <repo_name> //add your Repos to have push
$ git push -u origin master
Make the changes

