-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpastebin2.txt
67 lines (35 loc) · 1.13 KB
/
pastebin2.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
## Basic work with GitHub and Visual Studio Code
####################
ssh-keygen -t ed25519 -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
cat ~/.ssh/id_ed25519.pub
### Copy and Paste to github.com ###
#####################
gpg --full-generate-key
Please select what kind of key you want:
1(default)
What keysize do you want? (3072) 4096
4096
Please specify how long the key should be valid.
0
Is this correct? (y/N) y
y
gpg --list-secret-keys --keyid-format=long
gpg --armor --export 620608F3114F9939
### Copy and Paste to github.com ###
git config --global user.name "Box AltCoin"
git config --global user.email [email protected]
#####################
git config --global user.signingkey 620608F3114F9939
if [ -r ~/.bash_profile ]; then echo 'export GPG_TTY=$(tty)' >> ~/.bash_profile; \
else echo 'export GPG_TTY=$(tty)' >> ~/.profile; fi
source ~/.profile
#####################
Install Visual Code
sudo snap install code --classic
#####################
git config --global commit.gpgsign true
git commit -S -m "your commit message"
git push
git push --all