Sync local git repo with remote in one shot discarding local changes/commits

后端 未结 3 459
一生所求
一生所求 2021-01-31 06:50

I\'m a not a git expert so this might look like a silly question.

I have local and remote repositories, I want to sync my local with the remote repository. I have many l

3条回答
  •  后悔当初
    2021-01-31 07:07

    git fetch -[options]
    

    Checkout:

    git fetch --help
    

    for the functionalities you can use

提交回复
热议问题