Skip to content

References, how tos and tutorials to git

Christian Kral edited this page Nov 25, 2019 · 10 revisions

General Tutorials

Forks and Pull Requests

Sync a user specific fork

  • Sync a fork with the original (upstream) ModelicaStandardLibrary https://gist.github.com/Chaser324/ce0505fbed06b947d962
  • Create a local branch, switch to the branch, apply changes. At your fork (assuming that you have the GitHub username <user>) push the branch to the fork only. Two possible options are:
    • Direct application git push --repo=https://github.com/<user>/ModelicaStandardLibrary.git
    • Apply the abbreviation msl to your local fork: git remote add msl https://github.com/<user>/ModelicaStandardLibrary.git then push using the abbreviation git push -u msl

Code snippet

Pull requests

Clone this wiki locally