Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify casing in subsections to capitalize only first #37

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yarikoptic
Copy link
Contributor

but may be you would want it the other way around since there is more left

❯ git grep '^##* *[A-Z].* [A-Z]'
README.md:# Version control of code and data using Git & DataLad
chapters/branches.qmd:#### How to protect the Main Branch on GitHub
chapters/command-line.qmd:### Why using Git from the command line
chapters/command-line.qmd:#### Dot Dot: `..`
chapters/command-line.qmd:### Interlude: What is the difference between a flag and an argument?
chapters/contributing.qmd:## RStudio Project {#sec-rstudio-project}
chapters/contributing.qmd:## Dependency Management {#sec-dependency-management}
chapters/contributing.qmd:## Fontawesome Icons {#sec-icons}
chapters/contributing.qmd:## Acknowledgements & Attribution {#sec-acknowledgements}
chapters/datalad-nextcloud.qmd:### Details about the MoAEpilot dataset
chapters/datalad-nextcloud.qmd:### Install DataLad NEXT
chapters/datalad-nextcloud.qmd:### Tip: Use a virtual environment to install DataLad Next
chapters/datalad-nextcloud.qmd:## Walkthrough: Hosting DataLad datasets on Nextcloud
chapters/datalad-nextcloud.qmd:### Get the WebDAV address
chapters/datalad-nextcloud.qmd:### Create the WebDAV DataLad sibling
chapters/datalad-nextcloud.qmd:### Push the dataset to Nextcloud
chapters/datalad-nextcloud.qmd:## Walkthough: Hosting DataLad datasets on ownCloud
chapters/datalad-nextcloud.qmd:### Get the WebDAV address
chapters/first-steps-git.qmd:### Logging Commits
chapters/first-steps-git.qmd:### Comparing Versions
chapters/first-steps-git.qmd:## Common Files to Ignore in Scientific Settings:
chapters/first-steps-git.qmd:### Example .gitignore file for a R project
chapters/first-steps-git.qmd:# R Markdown Notebook
chapters/first-steps-git.qmd:# RStudio Project Files
chapters/first-steps-git.qmd:# R Environment Variables
chapters/github-intro.qmd:### Setting Account details
chapters/github-intro.qmd:#### HTTPS Personal Access Token
chapters/github-intro.qmd:#### SSH Key
chapters/github-intro.qmd:## Creating a Repository
chapters/github-intro.qmd:### Starting from Scratch
chapters/github-intro.qmd:## Alternatives to GitHub
chapters/installation-setup.qmd:#### Option 1: Terminal
chapters/installation-setup.qmd:#### Option 2: Binary installer
chapters/installation-setup.qmd:## Configuring Git
chapters/intro-version-control.qmd:## Learning Objetives
chapters/intro-version-control.qmd:### Key features of Git
chapters/intro-version-control.qmd:## How do I interact with git on my computer?
chapters/intro-version-control.qmd:### Git Clients (applications with a GUI)
chapters/intro-version-control.qmd:### Misconception: Git is the same as GitHub
chapters/intro-version-control.qmd:### Misconception: Git is only for code and programmers
chapters/intro-version-control.qmd:### Misconception: Git is only for collaboration
chapters/intro-version-control.qmd:### Misconception: Git auto-saves your changes
chapters/rewriting-history.qmd:### Using the BFG
chapters/rewriting-history.qmd:### Force-push your local changes to GitHub
chapters/rewriting-history.qmd:## Fully removing the data from GitHub
chapters/stashing-rebasing.qmd:### Stashing Changes:
chapters/stashing-rebasing.qmd:### Basic Rebasing:
chapters/style-guide.qmd:## Acknowledgements & Attribution

(some are false positives)

take over one way or another if feel worthwhile

@lnnrtwttkhn
Copy link
Owner

thanks for pointing this out! yes, capitalizing only first (except "brand names" like GitHub) would be the way to go. @yarikoptic, any suggestion for how to bulk fix this? thanks!

@yarikoptic
Copy link
Contributor Author

I wouldn't bother bulk fixing

  • take this PR as starting point
  • go through the other left
  • declare victory

@lnnrtwttkhn lnnrtwttkhn mentioned this pull request Oct 23, 2023
28 tasks
@lnnrtwttkhn
Copy link
Owner

as mentioned in #51, I would go with "Git" instead of "git".
we can do this step-by-step, but good to keep in this mind for consistency @konradpa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants