GitHub Flashcards

(27 cards)

1
Q

git init

A

Initialisiert ein neues Git-Repository im aktuellen Ordner.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

git status

A

Zeigt den aktuellen Stand: Welche Dateien sind geändert, gestaged oder committed?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

git add <datei></datei>

A

Datei zur Staging-Area hinzufügen (bereit für den nächsten Commit).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

git commit -m “Nachricht”

A

Änderungen mit einer Nachricht ins Repository übernehmen.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

git log

A

Liste aller bisherigen Commits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

git push

A

Überträgt lokale Commits ins entfernte (GitHub-)Repository.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

git pull

A

Holt und integriert Änderungen vom Remote-Repo.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

git clone (URL)

A

Kopiert ein ganzes GitHub-Repo lokal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Was ist ein Commit?

A

Ein Snapshot des Projektstands. Jeder Commit hat eine eindeutige ID.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Was ist ein Repository?

A

Ein Projektverzeichnis mit Versionskontrolle.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Was ist die Staging Area?

A

Ein Zwischenspeicher: Hier wählst du gezielt aus, was in den nächsten Commit soll.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

README.md

A

Startseite deines Projekts auf GitHub. Hier beschreibst du, worum es geht.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

commit history (GitHub)

A

Grafische Übersicht aller Commits, wer wann was geändert hat.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

md: Überschriften

A

Überschrift 1, ## Überschrift 2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

md: Texthervorhebungen

A

1 Sternchen: kursiv
2 Sternchen: fett

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

md: Ungeordnete und geordnete Listen.

A
  • Listenpunkt
    1. Nummerierte Liste
17
Q

md: Code markieren, im Fließtext oder als Block

A

Code,

Codeblock
18
Q

md: Hyperlink einfügen.

19
Q

md: ein Bild einfügen.

20
Q

md: eingebettetes Zitat oder Hinweis.

21
Q

engl. Commit: Funktionserweiterung

A

feat: …
(z. B. feat: add login function)

22
Q

engl. Commit: Bugfix

A

fix: …
(z. B. fix: correct loop condition)

23
Q

engl. Commit: Code umgeschrieben, Funktionalität bleibt gleich.

A

refactor: …

24
Q

engl. Commit: Dokumentation oder README aktualisiert.

25
engl. Commit: Formatierung (Leerzeichen, Format, kein Code-Verhalten).
style: ...
26
engl. Commit: Tests hinzugefügt oder angepasst.
test: ...
27
engl. Commit: Allgemeine Aufgaben, z. B. Konfiguration, kein Code-Feature.
chore: ...