2017-05-31 14 views
2

私は、GitHub repositoryに明らかなコミットの貢献者がないことに気付きました。これはどのように可能ですか?GitHubリポジトリには、明確なコミットのない貢献者は何人いますか?

http://i.imgur.com/rFyNbgb.png

+0

あなたはそのリポジトリをリンクできますか? –

+0

質問をリポジトリに更新しました。 – mythereal

+1

は、GitHubサポートのために、より適切な質問のように思えます。 –

答えて

2

コミッターメールが任意の GitHubのアカウントに関連付けられていません。ランダムコミット選ぶことによって、あなたがこれを見ることができる.patchサフィックスを追加する追加:

https://github.com/atomiks/reddit-user-analyser/commit/508b9f745dcfd9117367fa88e982bb739ecac616.patch

From 508b9f745dcfd9117367fa88e982bb739ecac616 Mon Sep 17 00:00:00 2001 
From: atomiks <[email protected]> 
Date: Wed, 22 Feb 2017 08:47:53 +1100 
Subject: [PATCH] separate comments and submissions timeframes 

... 

[email protected]は、おそらく任意のGitHubのアカウントに関連付けられていません。あなたは以下の手順に従って、このようなリポジトリを作成することができます


# Create the Git repo locally 
$ mkdir foo 
$ cd foo/ 
$ git init 
Initialized empty Git repository in /.../foo/.git/ 

# Create some files 
$ echo 'foo' > index.js 
$ ls 
index.js 

# Create the commit, but pass an invalid email address 
# or one you are sure that is not associated with *any* 
# GitHub account 
$ git add . -A 
$ git commit -m 'Initial' . --author 'foo <[email protected]>' 
[master a34597b] Initial 
Author: foo <[email protected]> 
Date: Wed May 31 13:51:19 2017 +0300 
1 file changed, 1 insertion(+) 
create mode 100644 index.js 

# Add the GitHub url 
$ git remote add origin [email protected]:IonicaBizau/tmp42.git 

# Push the repo 
$ git push --all 
Counting objects: 3, done. 
Writing objects: 100% (3/3), 271 bytes | 0 bytes/s, done. 
Total 3 (delta 0), reused 0 (delta 0) 
To github.com:IonicaBizau/tmp42.git 
* [new branch]  master -> master 

を次にGitHubのレポページにあなたが表示されます。

がコミットURLをクリックすると追加します.patch接尾辞(生の情報を取得する):

From a34597b39da17eb77ab29f686a78b276a3c18376 Mon Sep 17 00:00:00 2001 
From: foo <[email protected]> 
Date: Wed, 31 May 2017 13:51:19 +0300 
Subject: [PATCH] Initial 

--- 
index.js | 1 + 
1 file changed, 1 insertion(+) 
create mode 100644 index.js 

diff --git a/index.js b/index.js 
new file mode 100644 
index 0000000..257cc56 
--- /dev/null 
+++ b/index.js 
@@ -0,0 +1 @@ 
+foo 
+1

@mythereal例を追加しました。 '--author'オプションを使うか' .gitconfig'ファイルを編集することで、コミットの著者を変えることができます。 –

+0

うわー。どうもありがとうございます。それは啓発だった。 – mythereal

+0

@mytherealよろしくお願いします! :) –

関連する問題