-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgit-help.txt
35 lines (29 loc) · 999 Bytes
/
git-help.txt
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
29
30
31
32
33
34
35
##### Racket Hello World
https://github.com/andreiled/mipt-cs-4sem/wiki/Пошаговая-инструкция-по-работе-с-git-и-github-для-студентов
-- git config --global user.name "beremour"
-- git config --global user.email "[email protected]"
```
git clone [email protected]:beremour/racket-hello-world.git
cd racket-hello-world
git config user.name "beremour"
git config user.name "Sergey Yudin"
git config user.email "[email protected]"
git config push.default simple
git config alias.nccommit 'commit -a --allow-empty-message -m ""'
...
git add README.md
git commit -a -m "Greate commit on $(date +"%Y-%m-%d %H:%M:%S")"
git push
git push origin master
...
git log
git log --name-only
```
You can do
* git add -u so that it will stage the modified and deleted files
You can also do:
* git commit -a
to commit only the modified and deleted files
git log --oneline -5 --author="Sergey Yudin"
git log --oneline -5 [email protected]
git ls-tree --full-tree -r HEAD