Skip to content

Sahilbheke#3

Open
SahilBheke25 wants to merge 8 commits into
masterfrom
sahilbheke
Open

Sahilbheke#3
SahilBheke25 wants to merge 8 commits into
masterfrom
sahilbheke

Conversation

@SahilBheke25

@SahilBheke25 SahilBheke25 commented Jan 5, 2025

Copy link
Copy Markdown
Owner

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.

@akanshak984 akanshak984 self-requested a review January 6, 2025 08:46

@akanshak984 akanshak984 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SahilBheke25 Need some clarification regarding Q2.
Overall the answers looks great.
Good Job!

Comment thread SahilBheke/Question2.txt
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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

Comment thread SahilBheke/Question2.txt
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.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do we keep both the repositories from different platform in sync?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants