mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-24 16:20:08 +01:00
Mention right-clicking
This commit is contained in:
parent
cc54f33c78
commit
417d7f405a
4 changed files with 7 additions and 2 deletions
|
@ -5,3 +5,5 @@ There's another way to add an entry to the index directly:
|
||||||
The first three numbers of the mode describe the type of the entry, "100" is a regular file.
|
The first three numbers of the mode describe the type of the entry, "100" is a regular file.
|
||||||
|
|
||||||
The second three number describe the permissions. Only "644" (non-executable) and "755" (executable) are supported.
|
The second three number describe the permissions. Only "644" (non-executable) and "755" (executable) are supported.
|
||||||
|
|
||||||
|
You can insert the hash of an object into the terminal by right-clicking on it! :)
|
||||||
|
|
|
@ -2,4 +2,6 @@ As soon as you have some tree objects, you can always read them and set the inde
|
||||||
|
|
||||||
git read-tree <tree>
|
git read-tree <tree>
|
||||||
|
|
||||||
|
For <tree>, you can provide the hash of any tree object - you can right-click one to insert its hash into the terminal!
|
||||||
|
|
||||||
Try reading some of the trees in this repository into the index!
|
Try reading some of the trees in this repository into the index!
|
||||||
|
|
|
@ -140,7 +140,7 @@ margin_bottom = 605.0
|
||||||
custom_fonts/normal_font = ExtResource( 5 )
|
custom_fonts/normal_font = ExtResource( 5 )
|
||||||
bbcode_enabled = true
|
bbcode_enabled = true
|
||||||
bbcode_text = "Level description here!"
|
bbcode_text = "Level description here!"
|
||||||
text = "Level congrats here!"
|
text = "Level description here!"
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,13 +26,14 @@ func _input(event):
|
||||||
$Nodes.rect_scale += Vector2(0.05, 0.05)
|
$Nodes.rect_scale += Vector2(0.05, 0.05)
|
||||||
|
|
||||||
func update_everything():
|
func update_everything():
|
||||||
$Index.text = ""
|
|
||||||
if shell.run("test -d .git && echo yes || echo no") == "yes\n":
|
if shell.run("test -d .git && echo yes || echo no") == "yes\n":
|
||||||
update_head()
|
update_head()
|
||||||
update_refs()
|
update_refs()
|
||||||
update_index()
|
update_index()
|
||||||
update_objects()
|
update_objects()
|
||||||
remove_gone_stuff()
|
remove_gone_stuff()
|
||||||
|
else:
|
||||||
|
$Index.text = ""
|
||||||
|
|
||||||
func set_path(new_path):
|
func set_path(new_path):
|
||||||
path = new_path
|
path = new_path
|
||||||
|
|
Loading…
Reference in a new issue