Skip to content

Learn2Done

    • HOME
    • HTML
    • CSS
    • C
    • C++
    • C#
    • JAVA
    • SQL
    • AWS
    • Larvel
    • INTERVIEW QUESTIONS
      • SQL INTERVIEW QUESTONS
    • PROGRAMS
      • C PROGRAMS
      • C++ PROGRAMS
      • JAVA PROGRAMS
    • Data Science
    • Business Management
    • DevOps
    • Docker
    • Git

    Git Upstream Branch

    To set upstream branch for the current branch.

    Syntax:

    git push --set-upstream remote_name branch_name
    

    Example:

    git push --set-upstream Main test
    

    Tags: GitGit Upstream BranchLearn2Done

    July 8, 2023 by Learn2Done Git
    • Next Git Status
    • Previous Git Push

    Larvel

    • Larvel Introduction

    Learn2Done © 2023 with ❤ by AlexTech Software Solutions