Skip to content

Commit

Permalink
Added public repo warning (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
alichtman authored Nov 8, 2018
1 parent 7e65979 commit a1b59a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shallow_backup/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def prompt_for_git_url(repo):
Ask user if they'd like to add a remote URL to their git repo.
If yes, do it.
"""
print_red_bold("WARNING: If you back up to a public remote, make sure no sensitive information is in your backup.")
if prompt_yes_no("Would you like to set a remote URL for this git repo?", Fore.GREEN):
print_green_bold("Enter URL:")
remote_url = input()
Expand Down

0 comments on commit a1b59a2

Please sign in to comment.