You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
1.4 KiB

  1. <h2>Cooperation SCM</h2>
  2. - Remote repositories are an important way to share code and collaborate. They allow you to store changes in a central location and retrieve them from other users.
  3. - There are different ways to create a remote repository and connect it to a local repository. The simplest way is to use a file-based remote repository.
  4. - The git push and git fetch commands are used to transfer changes between a local and a remote repository.
  5. - The git pull commands combine git fetch and git merge.
  6. - The git rebase command can be used to bring the local branch up to the state of another branch.
  7. - The git push --force command can be used to push changes to a remote repository, even if those changes overwrite the state of the remote repository.
  8. - The git push --force-with-lease command is a safer variant of the git push --force command.
  9. **Additional conclusions**
  10. - It is important to understand the consequences of the commands used when working with remote repositories. For example, the git push --force command can lead to lost changes.
  11. - It is important to use the correct configuration when working with forks. This will ensure that the changes from the fork are imported into the local repository.
  12. **Personal notes**
  13. - The exercises showed me how to use the different commands for working with remote repositories.
  14. - The exercises helped me to understand the consequences of the commands used.
  15. - The exercises showed me how forks can be used.