Fix up Author info

This commit is contained in:
2023-02-25 17:25:14 +01:00
parent 10b372e85f
commit fb91ef5203
15 changed files with 24 additions and 24 deletions
@@ -1,6 +1,6 @@
---
title: Gah, not another bloody blog
author: james
author: James McDonald
type: post
date: 2010-08-22T16:08:20+00:00
url: /2010/08/gah-not-another-bloody-blog/
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Norskups
author: james
author: James McDonald
type: post
date: 2011-04-11T19:06:39+00:00
url: /2011/04/norskups/
@@ -1,6 +1,6 @@
---
title: Invert mouse scroll wheel in Debian
author: james
author: James McDonald
type: post
date: 2011-07-21T11:49:01+00:00
url: /2011/07/invert-mouse-scroll-wheel-in-debian/
@@ -1,6 +1,6 @@
---
title: Linux locale problems over ssh from a Mac
author: james
author: James McDonald
type: post
date: 2011-10-06T08:07:16+00:00
url: /2011/10/linux-locale-problems-over-ssh-from-a-mac/
@@ -1,6 +1,6 @@
---
title: Get off of my iCloud
author: james
author: James McDonald
type: post
date: 2011-10-09T10:06:30+00:00
url: /2011/10/get-off-of-my-icloud/
@@ -1,6 +1,6 @@
---
title: How to find our flat
author: james
author: James McDonald
type: post
date: 2012-01-23T19:36:01+00:00
url: /2012/01/how-to-find-our-flat/
@@ -1,6 +1,6 @@
---
title: Diablo III EU “Error 33” Fix
author: james
author: James McDonald
type: post
date: 2012-05-15T06:09:22+00:00
url: /2012/05/diablo-iii-eu-error-33-fix/
@@ -1,6 +1,6 @@
---
title: Hardcoded GNOMEish composition
author: james
author: James McDonald
type: post
date: 2012-06-11T16:42:20+00:00
url: /2012/06/hardcoded-gnomeish-composition/
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Vag klokke
author: james
author: James McDonald
type: post
date: 2012-11-13T22:02:16+00:00
url: /2012/11/vag-klokke/
@@ -1,6 +1,6 @@
---
title: Import Things tasks into Apples Reminders
author: james
author: James McDonald
type: post
date: 2012-12-08T13:36:46+00:00
url: /2012/12/import-things-tasks-into-apples-reminders/
@@ -35,7 +35,7 @@ tell application "Reminders"
end tell
tell application "Reminders"
repeat with l in paragraphs of (read file "Users:james:Documents:tasks.txt")
repeat with l in paragraphs of (read file "Users:James McDonald:Documents:tasks.txt")
if length of l is not 0 then
if l starts with "- " then
set l to characters 3 through end of l as text
@@ -1,6 +1,6 @@
---
title: Useful Haskell Learnings
author: james
author: James McDonald
type: post
date: 2013-08-03T07:59:36+00:00
url: /2013/08/useful-haskell-learnings/
@@ -1,6 +1,6 @@
---
title: Function for bash or zsh to generate SSL requests and certificates
author: james
author: James McDonald
type: post
date: 2015-07-03T14:19:10+00:00
url: /2015/07/function-for-bash-or-zsh-to-generate-ssl-requests/
@@ -1,6 +1,6 @@
---
title: Git post-receive hook for Puppet control repo updates
author: james
author: James McDonald
type: post
date: 2017-04-05T19:24:28+00:00
url: /2017/04/git-post-receive-hook-for-puppet-control-repo-updates/
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Docker swarm monitoring
author: james
author: James McDonald
type: post
date: 2017-10-03T08:09:04+00:00
url: /2017/10/swarm-monitoring/
+9 -9
View File
@@ -1,6 +1,6 @@
---
title: Just enough Git to use it by yourself
author: james
author: James McDonald
type: post
categories:
- tech
@@ -66,7 +66,7 @@ _Note: you can take most of these actions with integrations in editors, for exam
In order for Git to be able to show who made changes, it needs to know your name and email address. You can configure those globally as follows:
```
git config --global user.email james@example.com
git config --global user.email James McDonald@example.com
git config --global user.name "James McDonald"
```
@@ -108,7 +108,7 @@ git status
You will get output something like:
```
PS C:\Users\james\Documents\learning-git> git status
PS C:\Users\James McDonald\Documents\learning-git> git status
On branch main
Your branch is up to date with 'origin/main'.
@@ -141,7 +141,7 @@ Let's try actually changing something to get a feel for this. Create a file in t
Try `git status` again:
```
PS C:\Users\james\Documents\learning-git> git status
PS C:\Users\James McDonald\Documents\learning-git> git status
On branch main
Your branch is up to date with 'origin/main'.
@@ -155,8 +155,8 @@ nothing added to commit but untracked files present (use "git add" to track)
Now it sees there is a file that's not currently being tracked by Git, and even points you at `git add` if you want to track it. Let's do that.
```
PS C:\Users\james\Documents\learning-git> git add hello.txt
PS C:\Users\james\Documents\learning-git> git status
PS C:\Users\James McDonald\Documents\learning-git> git add hello.txt
PS C:\Users\James McDonald\Documents\learning-git> git status
On branch main
Your branch is up to date with 'origin/main'.
@@ -170,7 +170,7 @@ Now we've updated git's "staging area" with our new `hello.txt`. As that's the o
### Committing changes
```
PS C:\Users\james\Documents\learning-git> git commit -m "Add hello.txt in case of Jedi"
PS C:\Users\James McDonald\Documents\learning-git> git commit -m "Add hello.txt in case of Jedi"
[main dc4c57c] Add hello.txt in case of Jedi
1 file changed, 1 insertion(+)
create mode 100644 hello.txt
@@ -185,14 +185,14 @@ Now you can push the changes back to GitHub.
### Pushing changes
```
PS C:\Users\james\Documents\learning-git> git push
PS C:\Users\James McDonald\Documents\learning-git> git push
Enumerating objects: 4, done.
Counting objects: 100% (4/4), done.
Delta compression using up to 4 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 321 bytes | 160.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
To github.com:jamesmcdonald/learning-git.git
To github.com:James McDonaldmcdonald/learning-git.git
d39641c..6e26f46 main -> main
```