• Like
What has source control ever done for us?
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

What has source control ever done for us?

  • 641 views
Published

 

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
641
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
6
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. What has the Romans source control ever done for us? Andrew Grimm University of New South Wales
  • 2. My own background
    • Used SFTP when programming in PHP
    • 3. Switched to SVN when I started using Rails
      • The worse, the better
    • First used git to contribute to open source project bioruby, and switched the weather in london from SVN to git in anticipation of railscamp 4
  • 4. What source control does for me
    • Avoids the need to copy files from A to B
    • 5. Keeps backups so that I don't have to worry about bad changes
      • Don't need to use that as often as you'd think
    • Poor man's work log
    • 6. Self code review
  • 7. Subversion
    • Slogan is “CVS done right”
      • “With that kind of slogan, there's nowhere you can go. There is no way to do CVS right.” - Torvalds
    • If it ain't broke, don't fix it?
      • RORO-ers live on the bleeding edge!
  • 8. Git's creation
    • Created by Linus Torvalds (of Linux fame)
    • 9. None of the source control programs were suitable for Linux, so he created his own
    • 10. In two weeks!
  • 11. Advantages of Git
    • Distributed source control
      • No single centralized repository
      • 12. Can make commits locally, and push to another repository when you want to
        • Useful if the network is down
      • Can fix imperfect commits (eg forgetting to add a new file)
    • Can make partial commits
    • 13. Only has one .git directory, rather than many .svn directories
  • 14. Disadvantages of git
    • Have to add and commit, rather than just commit
    • 15. Doesn't like empty directories (use empty .gitignore to make the directory un-empty)
    • 16. Converting old SVN projects to git needs to be done using UNIX-based computers
    • 17. Git allows you to alter the past, 1984 -style.
  • 18. Conclusion
    • Source control is a useful form of exomemory, keeping information about a project with the project rather than in your wetware