[Starlingx-discuss] [ansible-playbooks] Repo re-imported with history
A few minutes ago we force-pushed a new version of the starlingx/ansible-playbooks repo into Gerrit to include the history of those files from starlingx/config. The content of the files at HEAD (as I write this) are the same as before but all of the relevant git history is now present and the 4 previously-existing commits have been re-written into two new ones. This means any local copies of this repo need to be re-cloned or re-synced. Scott reports that the following will do a proper re-sync for developers using the repo tool: repo sync --force-sync Of course, this always works too: # rename or remove the existing repo git clone https://opendev.org/starlingx/ansible-playbooks.git Please let us know if there are any problems, here or in IRC in #starlingx. Thanks dt -- Dean Troyer dtroyer@gmail.com
On 2019-06-17 13:02:05 -0500 (-0500), Dean Troyer wrote: [...]
Of course, this always works too:
# rename or remove the existing repo git clone https://opendev.org/starlingx/ansible-playbooks.git [...]
I generally just do this (assuming there's nothing in my local master branch I care about): git checkout master git remote update git reset --hard origin/master -- Jeremy Stanley
participants (2)
-
Dean Troyer
-
Jeremy Stanley