Waldir LeΓ΄ncio Netto
Research Software Engineer Oslo Centre for Biostatistics and Epidemiology (OCBE)
https://github.com/ocbe-uio https://github.com/wleoncio
Available here or through QR Licensed under Creative Commons Attribution-ShareAlike
Questions/comment at any time (in-person or chat) Requirements:
git add $file git commit -m "$message"
...and seek help if you need to check/retrieve from history.
git init
git status
git add
git commit
git reset
git diff
git log
git show
git branch
git checkout
git merge
git stash
git stash pop
I see different versions, Bash, CMD, GUI, what are the different uses?
(Quick Windows Git demo)
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection
git clone
git remote
.gitignore
git commit --amend # change files or just the commit message
git add --patch git commit
git revert $bad_idea_hash
Step 0: backup your repository!
git commit --squash $same_idea_hash git commit --fixup $oopsie_hash git rebase --interactive $destination # make sure there were no pushes since
TODO: create public test project for class
- Differences in writing style (spacing, naming objects/files)