https://sciware.flatironinstitute.org/33_SummerIntro
Activities where participants all actively work to foster an environment which encourages participation across experience levels, coding language fluency, technology choices*, and scientific disciplines.
*though sometimes we try to expand your options
Previous sciwares available here https://sciware.flatironinstitute.org
Password for videos is…

an open-source, distributed, command-line, version-control tool

git is installed > git version
git version 2.30.1
If this returns an error, please raise your hand or put a yellow sticky on your laptop.
See what name is currently set
> git config --global user.name
Set your full name
> git config --global user.name "Mona Lisa"
See what email address is currently set
> git config --global user.email
Set an email address
> git config --global user.email "email@email.org"
(Ideally set to the same email address you used for GitHub account)

> ssh-keygen -t ed25519
> cat ~/.ssh/id_ed25519.pub
ssh-ed25519 AAA..... user@host
Copy this whole line to the clipboard

Title should refer to the computer on which the key was generated.
Paste key into text box.
So that you don’t get stuck in vi:
> git config --global core.editor "nano -w"
How to set up your favorite editor with Git:
https://git-scm.com/book/en/v2/Appendix-C%3A-Git-Commands-Setup-and-Config#ch_core_editor

Download the code to your computer in GitHub-ese is Clone the Repo to your local
In a Terminal window, clone the repo:
> git clone git@github.com:flatironinstitute/sciware33-git-intro
> cd sciware33-git-intro
git clone do?git clone command connects the directory to the repo on GitHub in case you ever wanted to interact with it later..git > ls -a
> git remote -v
origin git@github.com:flatironinstitute/sciware33-git-intro (fetch)
origin git@github.com:flatironinstitute/sciware33-git-intro (push)

https://github.com/explore


> cd #out of sciware33-git-intro
> mkdir silly_repo
> cd silly_repo
> touch silly_code.py
> touch silly_file.txt

> git init -b main
> git status

> git status
Notice:
silly_file.txt is in red and is untrackedUse the git add command to specify exactly which files you want to keep under version control.
> git status
> git add silly_file.txt
> git status
Notice:
silly_file.txt is now greensilly_file.txt needs to be committedgit commit to save the local changes. > git commit
Alternatively, you can commit directly from the command line:
> git commit -m "add silly file"
> git status

git remote add to provide the URL to the GitHub repo.origin
> git remote -v
> git remote add origin git@github.com:kelle/silly_repo.git
> git remote -v
git push command to upload the committed changes to the GitHub repo.
> git push origin main

silly_file.txt should now be in the repo on the GitHub website.


silly_code.py to the repo
git status before and after every command until you gain confidence
https://medium.com/@kenwarner/command-line-ux-matters-too-improve-your-git-status-colors-170de858953d


