Intro to Git/Github
October 23, 2013 7-9pm RSVP
##Agenda
- General Announcements
- Introductions around the room
- Name
- How you found out about Pyladies
- What do you want to accomplish with coding in python?
- Share open source projects you've worked on
- Presentation on Git
- Exercises
===
##Github Exercises
First try these github exercises: https://help.github.com/categories/54/articles
===
##Git Exercises
Next, try these command line actions with git.
##Exercise 1
- Create a repository
- Add two files in it
- Check status
- Commit
- Check status
- Check log
- Modify something
- See status
- Try to commit
- What went wrong?
- Add changes to index
- See status
- Now commit
- Again, modify something
- Add modified stuff to index
-
- See status (DO NOT COMMIT)
- Modify same file again
- See status
- Commit
- What just happened?
- View log
- View log on 1 line
- Create a new branch and switch to that
- Add some new files and commit them in the branch
- Switch back to master branch
- Where are your new files now? Explain.
Tips:
Modifying commit message
git commit --amend