+
Skip to content

irisli/cs69

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Intro to Git and Code Collaboration

Slides: https://docs.google.com/presentation/d/1r_HpKOhmXmceVYapa1DUkRaaAXIAJEgwMMVCShTmjHQ

Handout: https://github.com/irisli/cs69/blob/master/git-handout.pdf

Try it yourself

Blockchain at Berkeley has a git-demo repository. Where you can try it out yourself. Follow the instructions below to make a pull request to the demo repository.

  1. Create or log in to your GitHub account
  2. Go to https://github.com/BerkeleyBitcoin/git-demo
  3. Fork the repo (top right hand corner of the webpage)
  4. Go to your fork https://github.com/yourusername/git-demo (GitHub should have automatically redirected you already)
  5. Clone the repo: git clone https://github.com/yourusername/git-demo
  6. Go into the folder: cd git-demo
  7. Create a new branch: git checkout -b branch-name
  8. Make sure you are now in your new branch: git branch
  9. Edit a file or make a new one
  10. Add the changes: git add hog.py
  11. Commit the changes: git commit -m "Write a descriptive message here"
  12. Push the changes: git push origin branch-name
  13. Go to https://github.com/BerkeleyBitcoin/git-demo
  14. Pull requests -> new pull request
  15. Add some descriptions to your pull request and create it

About

Blockchain at Berkeley's Mini CS169 Intro to Software Engineering

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载