WIP: Blog post about using git for "experimentation" #7

Draft
yarikoptic wants to merge 1 commit from git-do-experiments into main
Member

This is just a stab at a possible blog post to seek feedback/contributions.

The idea is to provide a very lean/concentrated list of some features of git,
git-annex, and datalad, which scale up nicely to scientific experimentation.
The hope is that discovering those for some readers could make experimentation
more "safe", and thus lets taxing mentally. I still run into folks
afraid of doing something (under git) to "not break it". Some tips here to
present here would be to make them do "crazy" things with git intentionally
since they would know now that this particular steps are "safe".

WDYT and feel welcome to join the effort and suggest other tricks/references etc.

TODOs

This is just a stab at a possible blog post to seek feedback/contributions. The idea is to provide a very lean/concentrated list of some features of git, git-annex, and datalad, which scale up nicely to scientific experimentation. The hope is that discovering those for some readers could make experimentation more "safe", and thus lets taxing mentally. I still run into folks afraid of doing something (under git) to "not break it". Some tips here to present here would be to make them do "crazy" things with git intentionally since they would know *now* that this particular steps are "safe". WDYT and feel welcome to join the effort and suggest other tricks/references etc. TODOs - [ ] add illustrations -- otherwise too dry... - [ ] examples (e.g. for `git grep` -- could be on `con/tinuous` dumps and/or BIDS datasets after heudiconv) - [ ] may be mermaid gitGraph could be used. there seems to be a way to enable mermaid under hugo: https://gohugo.io/content-management/diagrams/#mermaid-diagrams
Owner

I think https://handbook.datalad.org/en/latest/beyond_basics/101-168-dvc.html is closely related for a specific type of workflow.

Somewhat related is also https://bits.ngln.eu/mih-talks/computational-reproducibility-in-practice, but more like background material.

I think https://handbook.datalad.org/en/latest/beyond_basics/101-168-dvc.html is closely related for a specific type of workflow. Somewhat related is also https://bits.ngln.eu/mih-talks/computational-reproducibility-in-practice, but more like background material.
Author
Member

yes -- we could add references to more formal/structured tutorials on scientific data management and workflows. I might even borrow some examples/illustrations from them ;) But overall I want this blog post to be a short list of specific "mini-workflows" or "tricks" for people to follow to make them more efficient/reproducible while using git/git-annex/datalad. Any particular ones I might have forgotten and you see fit here?

yes -- we could add references to more formal/structured tutorials on scientific data management and workflows. I might even borrow some examples/illustrations from them ;) But overall I want this blog post to be a short list of specific "mini-workflows" or "tricks" for people to follow to make them more efficient/reproducible while using git/git-annex/datalad. Any particular ones I might have forgotten and you see fit here?
yarikoptic force-pushed git-do-experiments from 3124878627
All checks were successful
Codespell / Check for spelling errors (pull_request) Successful in 17s
to 20bcabc007
All checks were successful
Codespell / Check for spelling errors (pull_request) Successful in 18s
2025-08-08 12:53:37 +00:00
Compare
yarikoptic changed title from Blog post about using git for "experimentation" to WIP: Blog post about using git for "experimentation" 2026-11-10 15:28:33 +00:00
All checks were successful
Codespell / Check for spelling errors (pull_request) Successful in 18s
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'git-do-experiments:git-do-experiments'
git switch 'git-do-experiments'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'git-do-experiments'
git switch 'git-do-experiments'
git rebase 'main'
git switch 'main'
git merge --ff-only 'git-do-experiments'
git switch 'git-do-experiments'
git rebase 'main'
git switch 'main'
git merge --no-ff 'git-do-experiments'
git switch 'main'
git merge --squash 'git-do-experiments'
git switch 'main'
git merge --ff-only 'git-do-experiments'
git switch 'main'
git merge 'git-do-experiments'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
www/datalad-blog!7
No description provided.