1 of 9

Noțiuni Git

(opțional)

2 of 9

ls -C .git

COMMIT_EDITMSG

MERGE_RR

config

hooks

info

objects

rr-cache�HEAD ORIG_HEAD description

index

logs

refs

3 of 9

HEAD

cat .git/HEAD

(commit-ul curent)

4 of 9

origin

REMOTE repository

5 of 9

origin/HEAD

REMOTE branch

6 of 9

Git Hooks

7 of 9

Git ignore

.gitignore

8 of 9

Decorate

git log --graph --oneline --decorate

9 of 9

git-cherry-pick