-
Notifications
You must be signed in to change notification settings - Fork 2
/
github-commands.txt
53 lines (40 loc) · 1.26 KB
/
github-commands.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
https://github.com/pantaluna/esp32_ds3231_32khz_oscillator_using_lib
C:\myiot\esp\esp32_ds3231_32khz_oscillator_using_lib
SOP Upload new repo to GitHub
-----------------------------
1. BROWSER: create GitHub public repo at Github.com
2 MSYS2: git
```
DIR_REPO_NAME=esp32_ds3231_32khz_oscillator_using_lib
cd /c/myiot/esp/${DIR_REPO_NAME}
pwd
git init
git add .
git commit -m "First commit"
git remote add origin https://github.com/pantaluna/${DIR_REPO_NAME}.git
git config credential.helper store
git push --set-upstream origin master
git remote show origin
git tag --annotate v1.0 --message "Using ESP32 in combination with a DS3131MZ+ as external 32Khz crystal oscillator (accurate timekeeping in deep sleep)"
git push origin --tags
git describe --tags --dirt
git rev-parse --short HEAD
git rev-parse HEAD
git status
```
*NOTUSEDYET* SOP Upload source updates to GitHub
-----------------------------------
```
DIR_REPO_NAME=esp32_ds3231_32khz_oscillator_using_lib
cd /c/myiot/esp/${DIR_REPO_NAME}
git add .
git commit -m "Updated"
git config credential.helper store
git push --set-upstream origin master
git tag --annotate v1.2 --message "Update documentation"
git push origin --tags
git describe --tags --dirt
git rev-parse --short HEAD
git rev-parse HEAD
git status
```