This link has been bookmarked by 136 people . It was first bookmarked on 30 May 2012, by someone privately.
-
04 Dec 19
-
09 Oct 19
-
15 Apr 18
-
16 Jul 17
-
30 May 17
-
15 Feb 17
-
08 Feb 17
-
31 Dec 16
-
30 Nov 16
-
15 Aug 16
-
A
commitrefers to atreethat represents the state of the files at the time of the commit. -
More than one parent means the commit is a merge
-
the post-its can be moved around freely
-
refs: References, or heads or branches, are like post-it notes slapped on a node -
They act as sort of bookmarks
-
They don't get stored in the history, and they aren't directly transferred between repositories.
-
git commitadds a node to the DAG and moves the post-it note for current branch to this new node. -
Normal refs are actually in a namespace
heads/XXX -
It is a pointer to the currently active branch.
-
The
HEADref is special in that it actually points to another ref. -
remote refs
-
different namespace
-
remote refs are essentially controlled by the remote server
-
A
tagpoints to acommit -
tag: Atagis both a node in the DAG and a post-it note -
We have
cloned a remote repository -
Here we have
fetched the remote and received one new commit from the remote, but have not merged it yet. -
git merge remotes/MYSERVER/master
-
fast forward
-
changing the files in our working directory
-
One local
git commitand agit fetchlater. -
git merge remotes/MYSERVER/master
-
this wasn't a
fast forward, but an actual newcommitnode was created -
rebase
-
your commit is replaced by another commit with a different parent, and your branch is moved there
-
Your old commit(s) will remain in the DAG until garbage collected.
-
If you have extra post-its pointing to your old commit, they will remain pointing to it, and keep your old commit alive indefinitely.
-
garbage collecting
-
rebasealso knows how to rebase multiple commits with one command
-
-
01 Feb 16
-
13 Oct 15
-
31 Jul 15
-
12 Jul 15
-
19 Jun 15
-
24 Mar 15
-
14 Dec 14
-
19 Aug 14
-
The object that points to the
blobdetermines the semantics -
Nodes that nothing points to can be garbage collected
-
A
tagis both a node in the DAG and a post-it note (
-
-
25 Jul 14
-
21 May 14
Yee Sian NgQuick introduction to git internals for people who are not scared by words like Directed Acyclic Graph. In simplified form, git object storage is "just" a DAG of objects, with a handful of different types of objects.
-
03 Mar 14
-
03 Feb 14
-
04 Dec 13
-
18 Nov 13
-
22 Sep 13
-
23 Aug 13
-
13 Mar 13
-
11 Feb 13
-
29 Dec 12
-
06 Dec 12
-
04 Dec 12
-
20 Nov 12
-
14 Sep 12
-
12 Sep 12
-
02 Sep 12
Like the branch naming, remote alias names are arbitrary - just as 'master' has no special meaning but is widely used because git init sets it up by default, 'origin' is often used as a remote name because git clone sets it up by default as the cloned-from URL. In this case I've decided to name my remote 'github', but I could have really named it just about anything.
-
21 Aug 12
-
17 Jul 12
-
29 Jun 12
-
28 Jun 12
-
25 Jun 12
-
22 Jun 12
-
16 Jun 12
-
12 Jun 12
-
31 May 12
-
30 Jan 12
-
05 Jan 12
-
15 Nov 11
-
03 Nov 11
-
15 Oct 11
-
01 Aug 11
-
15 Jul 11
Ady GouldQuick introduction to git internals for people who are not scared by words like Directed Acyclic Graph.
git scm programming reference tutorial computerscience Version Control Systems - Git #delicious
-
03 Mar 11
-
25 Jul 10
-
29 Jun 10
-
12 Mar 10
-
15 Feb 10
-
11 Feb 10
-
22 Jan 10
-
01 Dec 09
-
19 Jun 09
-
24 May 09
-
20 Jan 09
-
03 Apr 08
viniciusjlQuick introduction to git internals for people who are not scared by words like Directed Acyclic Graph.
-
30 Oct 07
-
29 Sep 07
aminggsQuick introduction to git internals for people who are not scared by words like Directed Acyclic Graph.
document article tommi-virtanen git scm dvcs import:delicious
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.