git clone https://github.com/missing-semester/missing-semester class_website
git log --all --graph
README.md? (Hint: use git log with an argument).
git log --all --graph README.md
collections: line of _config.yml? (Hint: use git blame and git show).
git blame _config.yml
Hash of the collections: line last modification is a88b4eac.
git show a88b4eac
The message is "Redo lectures as a collection"
bfg --delete-files YOUR-FILE-WITH-SENSITIVE-DATA
git push --force
git stash? What do you see when running git log --all --oneline? Run git stash pop to undo what you did with git stash. In what scenario might this be useful?
git log --all --oneline Won't show the stashed changes because they are stored seperately. git stash pop will revert the working tree back to before git stash.~/.gitconfig. Create an alias in ~/.gitconfig so that when you run git graph, you get the output of git log --all --graph --decorate --oneline. You can do this by directly editing the ~/.gitconfig file, or you can use the git config command to add the alias. Information about git aliases can be found here.
vim ~/.gitconfig
boot_time.sh
[alias]
graph = log --all --graph --decorate --online
~/.gitignore_global after running git config --global core.excludesfile ~/.gitignore_global. Do this, and set up your global gitignore file to ignore OS-specific or editor-specific temporary files, like .DS_Store.
gitignore_globa
# Ignore zone identifier files (WSL)
*Zone.Identifier
# Ignore vim swap and backup files
*.swp
*.swo
*.swn
*.bak
*.backup
# Sensitive SSH and GPG files
.ssh/
id_rsa
id_rsa.pub
known_hosts
.gnupg/
The class website has few improvements left to make so you can do this exercise with this website's repository (the site you are currently on).
This site still has a lot of improvements to make so you don't have any excuse to skip this exercise. This will also give you an opportunity to practice vim.
If you don't know what to do, you can make the the html files xhtml compatible (especially quotations), add/remove whitespace (both in the files and the website) and add comments to make it more readable, rephrase some of the text so it doesn't look like I was having a stroke when writing it (English is my second language) or add explanations to the exercises I was to lazy to explain completely.
If I accept your changes, you will also be granted the enormous honor of having your name listed in the contributions section from the about page no one ever looks at!