[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stash
From: |
Harald Hanche-Olsen |
Subject: |
Re: Stash |
Date: |
Mon, 06 Apr 2015 17:07:13 +0200 |
User-agent: |
Postbox 3.0.11 (Macintosh/20140602) |
Steinar Bang wrote:
Good explanation, but …
"origin/master" and "master" are actually files:
.git/refs/heads/master
.git/refs/remotes/origin/master
Inside the files is a sha1 hash uniquely defining a commit.
They are more than that. There is also behaviour associated with these
branches found in the configuration:
; git config --get-regexp '^branch.master'
branch.master.remote origin
branch.master.merge refs/heads/master
; git config --get-regexp '^remote.origin'
remote.origin.url git://git.savannah.gnu.org/emacs.git
remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
;
(Or just look into .git/config.)
I suppose that you can argue that this is external to the branches
themselves, but really, the merging and fetching behaviours are central
to how these branches work.
– Harald
- Re: Stash, (continued)
- Re: Stash, Eli Zaretskii, 2015/04/06
- Re: Stash, João Távora, 2015/04/06
- Re: Stash, Eli Zaretskii, 2015/04/06
- Re: Stash, João Távora, 2015/04/06
- Re: Stash, Eli Zaretskii, 2015/04/06
- Re: Stash, Steinar Bang, 2015/04/06
- Re: Stash,
Harald Hanche-Olsen <=
- Re: Stash, Steinar Bang, 2015/04/06
Re: Stash, Richard Stallman, 2015/04/06
- Re: Stash, Eli Zaretskii, 2015/04/06
- Re: Stash, Harald Hanche-Olsen, 2015/04/06
- Re: Stash, Richard Stallman, 2015/04/07
- Re: Stash, Eli Zaretskii, 2015/04/07
- Re: Stash, Stephen J. Turnbull, 2015/04/07
- Re: Stash, Richard Stallman, 2015/04/08
Re: Stash, Richard Stallman, 2015/04/08
Re: Stash, Eli Zaretskii, 2015/04/08