You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _episodes/02-vcs.md
+33-31Lines changed: 33 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -79,11 +79,12 @@ control over your digital research artifacts and notes
79
79
> To gain good general working knowledge of VCSs and Git, please go through the following lessons/tutorials:
80
80
>
81
81
> -[Software Carpentry: Version Control with Git (full: 2:30h, familiarize: 20m)](http://swcarpentry.github.io/git-novice/) --
82
-
> a thorough lesson on the main git commands and workflows; please
83
-
> complete the lesson until at least the `Licensing` submodule, which will be
84
-
> covered in a separate lesson.
82
+
> a thorough lesson of the main Git commands and workflows; please
83
+
> complete the lesson until at least the `Licensing` submodule, which will be a
84
+
> covered in a separate lecture.
85
85
> -[Curious Git: A Curious Tale (full: 30m, familiarize: 10m)](https://matthew-brett.github.io/curious-git/curious_journey.html)
86
-
> -- useful read if "git internals" feel like a black box to you; this example guides you through the principles of Git without talking about Git.
86
+
> -- useful read if you feel that "Git internals" look like a black box to you; this example guides you through
87
+
> the principles of Git without talking about Git.
87
88
> - (very optional, since this module is Git-based) [Software Carpentry: Version Control with Mercurial (full: 4h)](http://swcarpentry.github.io/hg-novice/)
88
89
{: .callout}
89
90
@@ -115,14 +116,14 @@ control over your digital research artifacts and notes
115
116
>
116
117
{: .challenge}
117
118
118
-
> ## Exercise: exploiting git history
119
+
> ## Exercise: exploiting Git history
119
120
>
120
-
> Determine how the estimate for the Left-Amygdala changed in AnnArbor_sub16960
121
-
> from release 1.0.0 to 1.1.0.
122
-
> > ## Solution
123
-
> > git diff allows us to see the differences between points in the git history
124
-
> > and to optionally restrict the search to the specific file(s);
125
-
> > use `git tag` and `git grep`:
121
+
> Goal: determine how the estimate for the Left-Amygdala changed in the AnnArbor_sub16960
122
+
> subject from release 1.0.0 to 1.1.0.
123
+
> > ## Answer
124
+
> > git diff allows us to see the differences between points in the Git history
125
+
> > and to optionally restrict the search to the specific file(s), so the answers to the
> [automate such "decision making"](http://git-annex.branchable.com/tips/largefiles/)
285
-
> based on either file extension
286
-
> and/or size, you can specify those rules within a `.gitattributes` file
287
-
> (which also needs to be `git add`-ed), e.g.:
286
+
> based on either file extensions
287
+
> and/or their sizes, you can specify those rules within a `.gitattributes` file.
288
+
> Adding the following two lines would instruct the `git annex add` command to add all non-text and all files having the `.dat` extension to `git-annex` and the rest to
0 commit comments