What has source control ever done for us?

778 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
778
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

What has source control ever done for us?

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

×