从 Rakefile 中删除敏感信息的推荐步骤是什么?
例如,我的项目的 Rakefile 如下所示:
# -*- coding: utf-8 -*-
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project'
require 'bubble-wrap'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'App Name'
app.codesign_certificate = 'iPhone Developer: Name Goes Here (12SELC3456)'
end
由于app.codesign_certificate = 'iPhone Developer: Name Goes Here (12SELC3456)'
与项目的其他贡献者无关,我想在将我的代码提交到源代码管理之前将其删除。