git-clone-github.sh 991 B

123456789101112131415161718192021222324252627
  1. #! /bin/bash
  2. #
  3. # Github Developer Git Checkout
  4. #
  5. # Delete remote branch qpimd: git push origin :qpimd
  6. # (git push origin :refs/heads/branch_to_delete)
  7. # Delete remote tag v0.139: git push origin :v0.139
  8. # (git push origin :refs/tags/tag_to_delete)
  9. # Create remote-tracking branch: git checkout -b pim0.142 origin/pim0.142
  10. # Rename branch qpimd to pim: git branch -m qpimd pim
  11. # Commit changes: git commit -a
  12. # Send changes: git push --all
  13. #
  14. # Recipe to re-sync with Quagga repository:
  15. # git clone https://github.com/udhos/qpimd quagga
  16. # cd quagga
  17. # git checkout master
  18. # git pull http://git.sv.gnu.org/r/quagga.git master
  19. # git checkout -b pim origin/pim
  20. # git rebase master pim
  21. # # Test, then push back into Github repository:
  22. # git push origin :pim ;# delete remote branch pim
  23. # git push --all
  24. #
  25. # $QuaggaId: $Format:%an, %ai, %h$ $
  26. git clone https://github.com/udhos/qpimd