1. Git Learning Notes

    Workflow

    When using git to collaborate with others, the following workflow should be taken:

    1. git checkout main to switch the local branch to main.
    2. git pull origin main to pull the remote main branch to the local branch to catch up the work.
    3. git checkout -b newLocalBranchName to create a …
    Read more

Social