mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-07 05:02:04 +02:00
Rework levels, and add some new ones
This commit is contained in:
parent
931e9b3beb
commit
35b4dc098a
47 changed files with 163 additions and 39 deletions
levels/ref-create
|
@ -1,9 +1,9 @@
|
|||
Let's take a look at "refs", short for "references"! Refs are not objects, but rather very simple *pointers* to objects! They can help you keep track of what's where.
|
||||
Let's take a look at "refs" (short for "references")! Refs are not objects, but rather very simple *pointers* to objects! They can help you keep track of what's where.
|
||||
|
||||
You can create or update a ref with
|
||||
|
||||
git update-ref refs/<refname> <newvalue>
|
||||
|
||||
Make sure to start a ref's name with "refs/"! That's a convention that helps Git find all refs you create.
|
||||
Make sure to always start a ref's name with "refs/"! That's a convention that helps Git find all refs you create. If you forget the "refs/", you will not see the ref.
|
||||
|
||||
Create refs that point to all objects in this repository!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue