Compare commits
No commits in common. "7292e0625e9dec1a956a9228348710b48dad33b4" and "641b8fb825dfe713a2e4dda2b64b4b775c10b28d" have entirely different histories.
7292e0625e
...
641b8fb825
@ -26,10 +26,15 @@ mkdir $DIR && cd $DIR
|
||||
git init
|
||||
```
|
||||
|
||||
Make a file explaining what the project does, and tell `git` to track it:
|
||||
Make a file explaining what the project does:
|
||||
|
||||
```bash
|
||||
vim README.md
|
||||
```
|
||||
|
||||
Add this to the git:
|
||||
|
||||
```bash
|
||||
echo "I hereby solemnly swear never to commit a binary." > README.md
|
||||
git add README.md
|
||||
```
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
---
|
||||
title: "Commit for Another"
|
||||
tags: [ "data", "git" ]
|
||||
---
|
||||
|
||||
You can make Alice the author, while you are still the commiter:
|
||||
|
||||
```sh
|
||||
name="Alice Bobinson"
|
||||
email="alice@email.com"
|
||||
|
||||
git add ${file}
|
||||
git commit --author="${name} <${email}>"
|
||||
```
|
||||
|
||||
Or, make Alice both the committer and the author:
|
||||
|
||||
|
||||
```sh
|
||||
git -c user.name="${name}" -c user.email="${email}" commit -m "${message}"
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user