Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7862249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:03:29+00:00 2026-06-02T23:03:29+00:00

What is the HEAD master [branch] ? What should I choose for the Source

  • 0

EGit pop-up window

What is the

HEAD
master [branch]

?

What should I choose for the “Source ref” and “Destination ref”, respectively?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T23:03:30+00:00Added an answer on June 2, 2026 at 11:03 pm

    You see this screen in Egit Push URI documentation:

    Push Ref Specification

    That is where you define the refspecs:

    A “refspec” is used by fetch and push operations to describe the mapping between remote Ref and local Ref.
    Semantically they define how local branches or tags are mapped to branches or tags in a remote repository.
    In native git they are combined with a colon in the format <src>:<dst>, preceded by an optional plus sign, + to denote forced update.
    In EGit they can be displayed and also edited in tabular form in the Push Ref Specification and the Fetch Ref Specification and other dialogs.

    The “left-hand” side of a RefSpec is called source and the “right-hand” side is called destination.
    Depending on whether the RefSpec is used for fetch or for push, the semantics of source and destination differ:
    For a Push RefSpec, the source denotes a Ref in the source Repository and the destination denotes a Ref in the target Repository.

    Push Refspecs

    A typical example for a Push RefSpec could be

    HEAD:refs/heads/master
    

    This means that the currently checked out branch (as signified by the HEAD Reference, see Git References) will be pushed into the master branch of the remote repository.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently I have the following branch * master remotes/origin/HEAD -> origin/master remotes/origin/master What I
In master I have some files that should better live in a feature branch.
Master Branch had commits like this : A -> B -> C(HEAD) . HEAD
I have a Site.Master in my ASP.NET project which defines a HEAD section as
Using ASP.Net MVC on my Site.Master I have: <head runat=server> <title><asp:ContentPlaceHolder ID=TitleContent runat=server />
I have a master page in which I have the following code. <head runat=server>
I have the following markup inside a master page <html xmlns=http://www.w3.org/1999/xhtml > <head runat=server>
I have following working tree state $ git status foo/bar.txt # On branch master
My git log shows: 557b5b6 (HEAD, origin/tmp_branch, origin/master, origin/HEAD, tmp_branch, master) Fri Jan 27
Here's the situation. I'm working on the master branch. I create file1 and commit.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.