Version Control with Git

ドラえもんとのび太はに火星に惑星無人探査機を送ることができるかどうか、 検討するためにユニバーサル・ミッションズ(ユーフォーリック州立大学の スピンオフ宇宙サービス)に雇われました。 彼らはそれぞれ同時に計画を 作りたいのですが、前にもこのような仕事をしようとしたら困ったことが ありました。一人ずつするにと、待っている時間がもったいないですが、 それぞれ自分のコピーを編集して、メールで添付ファイルを送ったりすると 情報の喪失や上書き、複製などといった問題が起こります。

同僚は、バーションの管理はを使って作業を 管理することを提案しています。 バーションの管理を使うはファイルを前後にメールするよりも優れています:

バージョン管理を使うことによって得をするのはチームだけではありません: 個人で作業をしている 研究者にもメリットがあります。何が、いつ、何故変わったのかを 記録しておくことは、後で昔のプロジェクトを見返すことになった場合などに (例えば、1年後、プロジェクトの詳細を忘れてしまった時などに)、 非常に便利です。

Version control is the lab notebook of the digital world: it’s what professionals use to keep track of what they’ve done and to collaborate with other people. Every large software development project relies on it, and most programmers use it for their small jobs as well. And it isn’t just for software: books, papers, small data sets, and anything that changes over time or needs to be shared can and should be stored in a version control system.

予備知識

In this lesson we use Git from the Unix Shell. Some previous experience with the shell is expected, but isn’t mandatory.

計画

セットアップ レッスンの必要なファイルをダウンロードします
00:00 1. 自動的なバージョン管理 バージョン管理って何?なんで必要なの?
00:05 2.
00:05 3. リポジトリの作成 Gitはどこに情報を格納しますか?
00:15 4. Tracking Changes How do I record changes in Git?
How do I check the status of my version control repository?
How do I record notes about what changes I made and why?
00:35 5. Exploring History How can I identify old versions of files?
How do I review my changes?
How can I recover old versions of files?
01:00 6. Ignoring Things How can I tell Git to ignore files I don’t want to track?
01:05 7. Remotes in GitHub How do I share my changes with others on the web?
01:35 8. Collaborating How can I use version control to collaborate with other people?
02:00 9. Conflicts What do I do when my changes conflict with someone else’s?
02:15 10. Open Science How can version control help me make my work more open?
02:25 11. Licensing What licensing information should I include with my work?
02:30 12. Citation How can I make my work easier to cite?
02:32 13. Hosting Where should I host my version control repositories?
02:42 14. Supplemental: Using Git from RStudio How can I use Git with RStudio?
02:52 終わり

実際のスケジュールは、インストラクターが選択したトピックや演習によって若干異なる場合があります.