Skip to content

Instantly share code, notes, and snippets.

@mnithya
Created December 12, 2015 16:02
Show Gist options
  • Save mnithya/065eea262724c3cd7340 to your computer and use it in GitHub Desktop.
Save mnithya/065eea262724c3cd7340 to your computer and use it in GitHub Desktop.
2016 git submodule add plugins/ChartJs/
2017 git submodule add ./plugins/ChartJs/
2018 cd plugins/
2019 git submodule add https://github.com/netusco/CakePhp-ChartJs.git ChartJs
2020 cd ..
2021 git ls-files --stage
2022 git ls-files --stage plugins/ChartJs/
2023 git rm --cache plugins/ChartJs/
2024 git submodule add https://github.com/netusco/CakePhp-ChartJs.git plugins/ChartJs
2025 git status
2026 git commit -m "adding submodule for chartjs"
2027 git push
2028 git rm plugins/ChartJs/
2029 git rm -rf plugins/ChartJs/
2030 git rm --cached plugins/ChartJs/
2031 git status
2032 git commit -m "fixing travis"
2033 git push
2034 git submodule deinit https://github.com/netusco/CakePhp-ChartJs.git plugins/ChartJs/
2035 git submodule deinit https://github.com/netusco/CakePhp-ChartJs.git
2036 vim .gitmodules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment