Skip to content

Instantly share code, notes, and snippets.

@DinisCruz
Created October 5, 2012 10:53
Show Gist options
  • Select an option

  • Save DinisCruz/3839235 to your computer and use it in GitHub Desktop.

Select an option

Save DinisCruz/3839235 to your computer and use it in GitHub Desktop.
Git commands to upgrade the TM OWASP repository to the 3.2 version
git init
git remote add tm_master https://github.com/TeamMentor/Master
git remote add tm_library https://github.com/TeamMentor-OWASP/Library_OWASP
git remote add origin [email protected]:TeamMentor-OWASP/Master.git
git pull origin master
git branch -m master TeamMentor_3_1
git checkout --orphan master
git rm -rf .
git pull tm_master master:master
git fetch tm_library
git merge -s ours --no-commit tm_library/master
git read-tree --prefix=Library_Data/XmlDatabase/TM_Libraries/ -u tm_library/master
git commit -m 'adding Library files'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment