>>> "AH" == Al Haji-Ali <abdo.haji....@gmail.com> writes:
Hello Al


> Hello Uwe,
> On 02/03/2021, Uwe Brauer wrote:
>> I see
>> commit 7a45bb1b1363fc4e3d301c6e9069cac865374efc (HEAD -> tex-build-only, 
>> origin/tex-build-only)
>> 
> This is the correct commit.

> The `origin/tex-build-only` is a direct copy of the remote branch,
> when you call `git fetch`, this branch is synchronized with the remote
> branch.

> The other branch `tex-build-only` is your local copy. When you do `git
> pull` while on the local branch `tex-build-only`, this is effectively
> translated as two commands
> `git fetch origin tex-build-only`
> followed by
> `git merge origin/tex-build-only`
> So the remote branch `origin/tex-build-only` is synchronized then merged into 
> the local branch `tex-build-only`.

> The reason is that you can make changes to your local branch without
> affecting the remote branch (until you do `git push`). Also, after
> making changes to your local branch, you can get changes from other
> contributors and merge them into your local branch before pushing.

Thanks for clarifying.

I see, as a mercurial user, I find this confusing. I think I will try to use
mercurial and the hg-git plugin for the moment.

Uwe 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to