Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

restore file from main branch

ama-lion answered on March 1, 2023 Popularity 3/10 Helpfulness 5/10

Contents


More Related Answers

  • git revert file to master
  • git reset a single file to previous commit
  • git restore file
  • revert file to same as master
  • git revert file from another branch
  • git restore master version of file

  • restore file from main branch

    0

     git restore --source origin/branch_name filename

    Popularity 3/10 Helpfulness 5/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Mar 01 2023
    ama-lion
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.