You can also purge the bad files from the history before you publish:
http://help.github.com/removing-sensitive-data/
    Tekkub
    GitHub Tech Support
    http://support.github.com/
    Join us on IRC: #github on freenode.net
    Discussion group: [email protected]


On Mon, Oct 12, 2009 at 1:57 PM, Gaveen Prabhasara <[email protected]>wrote:

> On Tue, Oct 13, 2009 at 1:21 AM, JGAllen23 <[email protected]> wrote:
>
>>
>> I have a project that I have hosted on my private server and I'd like
>> to make it open source on github.  This would be really easy, except
>> for the fact that I have my login and password all over the commit
>> history (won't do that again).  Is there any way to set up git or
>> GitHub to only have commits/history going forward?
>>
>
> I guess you could just delete the .git directory first. Then start s new
> git repo
> from your source and push it to GitHub. That way there would be no commit
> history at all.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to