---
# System prepended metadata

title: Git and GitHub notes
tags: [git]

---

# Git and GitHub notes

###### tags: `git`

You'll need to configure you git username and password like this:

```
git config --global user.name "Your Name"
git config --global user.email "youremail@yourdomain.com"
```

Also, I highly recommend setting the following to avoid merge problems when pulling:

```
git config --global pull.rebase true
```

If you try to push changes to the repo, then you may need to set up a personal access token, see https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token

If you need any help then please ping me on Slack - robert.blackwell@cefas.co.uk

