Everton Marques | 1f7a2b4 | 2014-04-01 18:38:50 -0300 | [diff] [blame] | 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: |
Everton Marques | 069a020 | 2014-04-02 11:04:52 -0300 | [diff] [blame] | 15 | # git clone https://github.com/udhos/qpimd quagga |
| 16 | # cd quagga |
Everton Marques | 1f7a2b4 | 2014-04-01 18:38:50 -0300 | [diff] [blame] | 17 | # git checkout master |
Everton Marques | 069a020 | 2014-04-02 11:04:52 -0300 | [diff] [blame] | 18 | # git pull http://git.sv.gnu.org/r/quagga.git master |
Everton Marques | 1f7a2b4 | 2014-04-01 18:38:50 -0300 | [diff] [blame] | 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 | |
| 27 | git clone https://github.com/udhos/qpimd |