Sahilbheke#3
Open
SahilBheke25 wants to merge 8 commits into
Open
Conversation
akanshak984
reviewed
Jan 11, 2025
akanshak984
left a comment
Collaborator
There was a problem hiding this comment.
@SahilBheke25 Need some clarification regarding Q2.
Overall the answers looks great.
Good Job!
| 1) Primary remote hosted on GitHub(origin) can be used as open-source contributions. | ||
| Secondary remote hosted on GitLab(GitLab) can be used for internal backups and testing. | ||
| 2) Backup: If one remote is unavailable, we have a complete mirror of the repository on different platform. | ||
| 3) Collaboration: Some collaborators might prefer different platforms. No newline at end of file |
Collaborator
There was a problem hiding this comment.
How to set multiple remote repositories for the same project?
In the provided example: Is https://github.com/SahilBheke25/GitAssignment.git and https://gitlab.com/trainee4052801/GitAssignment.git same project?
| Use case: | ||
| 1) Primary remote hosted on GitHub(origin) can be used as open-source contributions. | ||
| Secondary remote hosted on GitLab(GitLab) can be used for internal backups and testing. | ||
| 2) Backup: If one remote is unavailable, we have a complete mirror of the repository on different platform. |
Collaborator
There was a problem hiding this comment.
How do we keep both the repositories from different platform in sync?
Owner
Author
There was a problem hiding this comment.
Simply by pushing changes to both the repositories.
Example: If i made changes to any of the files in my project i have to push it to both the repo.
Or
We can also use Repository mirroring.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Created new branch in which folder named SahilBheke is created which contains all the question files with their answers in it.
and also added assignment report.