Link to PowerPoint: https://docs.google.com/presentation/d/1ajd3AKqkpkIxO7ZtsZYl64VPQC1_qhtMrNi16xNQZXE/edit?usp=sharing
Workshop Steps:
- Use git clone to clone this repo into your local computer with the SSH code.
- Using your terminal CD into the folder where this repo is cloned.
- Make changes to this file (add your name and major)
- Check the changes you have made in your terminal using git status.
- Then add the changes in terminal using git add . (with the period)
- Use git commit -m "Message" to commit changes.
- Use git push origin master
Other Command Steps:
- Turn the current folder you are working into a repo with git init
- Git pull stufff from a changed repo.
- Using git pull you can pull certain files (index.html) but git fetch just pulls but not creates a new workspace.
- To push the changes you made using git fetch you must use git merge.
Git Stash/Branch Steps:
- Add some changes to new repo, use git stash, then you can go back to old changes
- To apply the changes use git stash apply and you can go back to your edit.
- Get stash list to see the list of changes you have made
- To make branches you must use git checkout -b to make a new branch.