Skip to content
This repository was archived by the owner on Mar 31, 2022. It is now read-only.

Commit f96f6fb

Browse files
author
Sam Pierson
committed
Also look for key id_github_<project>
After all there _is_ _some_ software not written by Pivotal.
1 parent bed6be8 commit f96f6fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

git-project

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ end
1515
project = ARGV[0] || Dir.pwd.split('/').last
1616
hostname = Socket.gethostname.split('.').first
1717
possible_id_files = [
18+
"id_#{hostname}_github_pivotal#{project}",
1819
"id_github_pivotal#{project}",
19-
"id_#{hostname}_github_pivotal#{project}"
20+
"id_github_#{project}"
2021
]
2122

2223
Dir.chdir(File.expand_path('~/.ssh')) do

0 commit comments

Comments
 (0)