Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Git Presentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Réthelyi Bálint
Git Presentation
Commits
0c9d85e3
Commit
0c9d85e3
authored
4 years ago
by
Rafael László
Browse files
Options
Downloads
Patches
Plain Diff
add git log and fix email addresses
parent
d57915d9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/workshop/1_installation.md
+3
-3
3 additions, 3 deletions
docs/workshop/1_installation.md
docs/workshop/2_basics.md
+47
-0
47 additions, 0 deletions
docs/workshop/2_basics.md
with
50 additions
and
3 deletions
docs/workshop/1_installation.md
+
3
−
3
View file @
0c9d85e3
...
...
@@ -79,7 +79,7 @@ Nálam a konfig a home mappámban például így néz ki:
```
$ cat ~/.gitconfig
[user]
email = rlacko99
@
gmail.com
email = rlacko99
[AT]
gmail.com
name = Rafael László
```
...
...
@@ -91,7 +91,7 @@ Először is a saját adataink:
```
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe
@
example.com
$ git config --global user.email johndoe
[AT]
example.com
```
##### Szövegszerkesztő
...
...
@@ -116,7 +116,7 @@ Nézzük meg mik az összes beállításunk:
```
$ git config --list
user.email=rlacko99
@
gmail.com
user.email=rlacko99
[AT]
gmail.com
user.name=Rafael László
core.repositoryformatversion=0
core.filemode=true
...
...
This diff is collapsed.
Click to expand it.
docs/workshop/2_basics.md
+
47
−
0
View file @
0c9d85e3
...
...
@@ -408,4 +408,51 @@ Most meg már látszik, hogy csak átnevezés történt?
A Git képes rá, hogy felismerje a fájlokat és eldöntse, hogy
ugyanaz volt a kettő, tehát átnevezés történt.
#### Mit csináltunk eddig?
A Git egyik legjobb parancsa a
`git log`
a
`git status`
után és
szeretném ha kipróbálnád.
```
commit 80560db1f5a83496b80f1959fbcbae2ccfff320e (HEAD -> master)
Author: Rafael László <rlacko99 [AT] gmail.com>
Date: Thu Oct 8 21:07:25 2020 +0200
jegyzeteim ignorálása
commit 30bf35d36399e484b03090570e13cb95da92ab8b
Author: Rafael László <rlacko99 [AT] gmail.com>
Date: Thu Oct 8 20:11:58 2020 +0200
Hoztunk egy hordót
commit b677a8639193479157f7a576dffe0186b0dbe2c8
Author: Rafael László <rlacko99 [AT] gmail.com>
Date: Thu Oct 8 17:33:07 2020 +0200
Raktam bele egy körtét
commit c45abc3d64c7840b4088b77d5a60d02198a78854
Author: Rafael László <rlacko99 [AT] gmail.com>
Date: Thu Oct 8 17:19:28 2020 +0200
Készítettem egy gyümölcskosarat
```
Itt azt láthatjuk, hogy milyen mentéspontjaink vannak
és a hozzájuk tartozó dolgokat, mint a commit hash vagy
a hozzá tartozó üzenet.
Picit tegyük szebbé. Adjuk ki az előző parancsot a
`--graph --oneline`
kapcsolókkal.
```
* 80560db (HEAD -> master) jegyzeteim ignorálása
* 30bf35d Hoztunk egy hordót
* b677a86 Raktam bele egy körtét
* c45abc3 Készítettem egy gyümölcskosarat
```
Máris szebben néz ki :)
[
Előző
](
workshop/1_installation
)
|
[
Következő
](
workshop/3_branch
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment