Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 907 Bytes

readme.md

File metadata and controls

16 lines (10 loc) · 907 Bytes

HOW TO SYNC THIS FORK WITH THE ORIGINAL REPO?

  • add a remote repo:
    • command:

      1. git remote add
      1. git fetch
    • //if you are not on your local repos default branch then checkout to it using the command:

      1. git checkout <local repo default branch name(usually it is master or main)>
      1. git merge <remote repo name from step 1>/
    • // doing till step 4 will only sync the local forked repo with the original repo, to push changes to your remote repo, use the command:

      1. git push <the remote name you want to push(generally if you cloned a repo, the default name is origin, unless and until you added remote manually or changed it later)>