Skip to content

Instantly share code, notes, and snippets.

@usrbinkat
Last active February 17, 2021 19:03
Show Gist options
  • Save usrbinkat/abe1d9d8c88857a51fd28eb81aa61531 to your computer and use it in GitHub Desktop.
Save usrbinkat/abe1d9d8c88857a51fd28eb81aa61531 to your computer and use it in GitHub Desktop.
squash commits

Clone repo & update with latest from upstream master

git clone https://github.com/CodeSparta/content.git    
git checkout master    
git remote add upstream https://github.com/ComplianceAsCode/content.git    
git fetch upstream master

Merge codesparta/content ref(sparta)

git checkout -b feature_kubeapi_cis_1-2-25
git merge --squash origin/sparta
git push origin feature_kubeapi_cis_1-2-25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment