3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-31 03:03:48 +01:00
dft_tools/share/squash_history.sh

7 lines
322 B
Bash
Raw Normal View History

#!/usr/bin/env bash
git reset $(git commit-tree HEAD\^{tree} -m "Initialize project from github.com/triqs/app4triqs@$(git rev-parse --short HEAD)")
git merge --allow-unrelated-histories -s ours HEAD@{1} -m "Track app4triqs skeleton"
git remote rm origin
git remote add app4triqs_remote https://github.com/triqs/app4triqs