Systems in Rust
wsl
git
within WSL271rs
git
/GitHub and all major operating systems.Generating public/private ed25519 key pair.
Enter file in which to save the key (/home/calvin/.ssh/id_ed25519):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/calvin/.ssh/id_ed25519
$ cat ~/.ssh/id_ed25519.pub
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE5cnx/tgBp8v/LnuHz28evmnRPrnlz3cvYaAAM4G0ik calvin@calvin-Precision-3490
git
for that, but we can check if we have a connection easily:The authenticity of host 'github.com (140.82.116.3)' can't be established.
ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
/home/calvin/.ssh/id_ed25519
ssh-keygen
and it’ll show you.cat
that file in the command linessh
configured on your local device and on the remote service, you can clone your 271rs
.
github.com/cd-example/271rs
git@github.com:cd-example/271rs
271rs
directory via:README.md
and a LICENSE
271rs
01/rustup.md
file to your 271rs
271rs
repository I have permission to view.
rustup.md
01
271rs
rustup.md
are not relevant. <<<<<<< HEADls
to list files/folders.mkdir 01
to creat the 01
folder.vim 01/rustup.md
to edit the rustup.md
file in the 01
folder.
01
folder must exist to do this.88d5569f117a55a2960939684283dc3f8d56383e
vim
, neovim
, or helix
.vim
then the name of the file.271rs
, there will be a 271rs
folder into which you should create a 01
folder.
vim
vim
but basically:
i
to enter “insert mode” (so you can type):x
to save and exit.hello.py
and have it in our hello-world
directory, it isn’t yet “tracked” by git
!git
only keeps track of what we tell it to!git
now aware of hello.py
, we need to commit or changes for git
to save them.
-m
-a
to commit “all” files.git
on your system before, you’ll have to tell git
who you are.
git
there are no anonymous changes - you have to sign every change you make.Enumerating objects: 27, done.
Counting objects: 100% (27/27), done.
Delta compression using up to 22 threads
Compressing objects: 100% (15/15), done.
Writing objects: 100% (16/16), 98.54 KiB | 2.46 MiB/s, done.
Total 16 (delta 11), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (11/11), completed with 10 local objects.
To github.com:cd-example/271rs.git
adaa3a7..ba3c794 main -> main
git config
ssh-keygen
set origin
git add
for new files.02/hi_world.rs
git pull
every time you start working, basically.