How can I upload my application to github but remove sensitive authorization information?

后端 未结 3 814
隐瞒了意图╮
隐瞒了意图╮ 2021-01-20 05:48

I want to upload my app to github so I can share portions of it for feedback and help...but it contains information used for logging into other services and so forth.

<
3条回答
  •  孤独总比滥情好
    2021-01-20 06:09

    I found by far the easiest way to handle this is to just change your passwords and API keys. Far easier than scouring your repo and re-writing its history to expunge any sensitive data. Just changing your creds is a much more surefire way. Of course don't commit the new info.

提交回复
热议问题