git cheat sheet als PDF

https://education.github.com/git-cheat-sheet-education.pdf

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
% git clone https://github.com/your-ount-name/reopo_name.io.git

% git add --all
% git commit -m 'initial commit'
% git push -u origin master


% git init // neues Repositorium
% git status //aktuellen Status prüfen
% rm -rf .git // lokanes Repo löschen
% rm -rf .git*

% git config --global user.name
% git reset
% git reset --hard
% git remote -v
% git remote set-url origin https://github.com/your-ount-name/reopo_name.io.git

%rm -rf drhuva.io
% git init
% git remote add origin https://github.com/your-ount-name/reopo_name.io.git
% git pull origin master

% git status //aktuellen Status prüfen
% git add .// alle Dateien einfügen
% git add index.html // index.html einfügen
% git add /logs //Ordner "log" einfügen
% git rm --caсhed <Deiteiname>