Skip to content
This repository has been archived by the owner on Jan 19, 2020. It is now read-only.

git history not deleted #21

Closed
fjordansilva opened this issue Oct 1, 2014 · 2 comments
Closed

git history not deleted #21

fjordansilva opened this issue Oct 1, 2014 · 2 comments

Comments

@fjordansilva
Copy link

When a new project is created using Amaro, the git history and the remote is not deleted so for the new project:

  • There are a lot of commits information from the template project Amaro.
  • If the user does not replace the remote, the test project will be committed / pulled to Amaro Github repository.

Maybe a previous step to "git init" can be to delete the .git folder to remove the entire history, but preserving the submodules ( xcconfigs project ) information.

@misterfifths
Copy link
Collaborator

Hmm .. interesting. My aim was to squash all the Amaro commits into one, leaving you with just one dummy commit. Also I'm in the habit of always being explicit about where I'm pushing (e.g. git push origin master), so the remote (named bootstrap) doesn't effect me. It's not serving much of a purpose as-is, so I'll update the bootstrap script to remove it.

So, two tasks:

  • Make sure the git history is squashed to a minimum, and if that's not enough, maybe just nuke the history entirely.
  • Remove the remote added by the bootstrap script.

@misterfifths
Copy link
Collaborator

@fjordansilva I'm only seeing one commit on newly created projects. It's the squashed commit of everything that happened during the build script:

commit 0cf0839959f1dc12db38c2949b5743fe13c86911
Author: Tim Clem <tim.clem@gmail.com>
Date:   Mon Oct 6 11:39:54 2014 -0400

    [Amaro] All set. Go make something beautiful!

So I don't know what you mean by there being a lot of commit information.

I'm going to close this after updating the script to delete the remote. Please re-open with more details about the git history if that's still incorrect.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants