#NEWLINE# def fake_it( image , start_date , username , repo , offset = 0 , multiplier = 1 , git_url = 'git@github.com' ) : #NEWLINE# #INDENT# template = '#!/bin/bash\nREPO={0}\ngit init $REPO\ncd $REPO\ntouch README.md\ngit add README.md\ntouch gitfiti\ngit add gitfiti\n{1}\ngit remote add origin {2}:{3}/$REPO.git\ngit pull\ngit push -u origin master\n' #NEWLINE# strings = [ ] #NEWLINE# for ( value , date ) in zip ( values_in_date_order ( image , multiplier ) , date_gen ( start_date , offset ) ) : #NEWLINE# #INDENT# for i in range ( value ) : #NEWLINE# #INDENT# strings . append ( commit ( i , date ) ) #NEWLINE# #UNINDENT# #UNINDENT# return template . format ( repo , '' . join ( strings ) , git_url , username )