summaryrefslogtreecommitdiffstats
path: root/pimd/git-clone-github.sh
diff options
context:
space:
mode:
authorEverton Marques <everton.marques@gmail.com>2014-06-25 13:25:17 -0300
committerDavid Lamparter <equinox@opensourcerouting.org>2015-02-04 06:07:56 +0100
commit829198800217fe321faa397d21e2d8f99fcaf0dd (patch)
tree0dffa55bd36c5ef8d2cf016741787b4e64f58cd0 /pimd/git-clone-github.sh
parent60353ab4b0857d3f416e315fd81568d9e60205c4 (diff)
downloadquagga-829198800217fe321faa397d21e2d8f99fcaf0dd.tar.bz2
quagga-829198800217fe321faa397d21e2d8f99fcaf0dd.tar.xz
pimd: Rename script with recipe for git cloning
Diffstat (limited to 'pimd/git-clone-github.sh')
-rwxr-xr-xpimd/git-clone-github.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/pimd/git-clone-github.sh b/pimd/git-clone-github.sh
new file mode 100755
index 00000000..ae2362a7
--- /dev/null
+++ b/pimd/git-clone-github.sh
@@ -0,0 +1,27 @@
+#! /bin/bash
+#
+# Github Developer Git Checkout
+#
+# Delete remote branch qpimd: git push origin :qpimd
+# (git push origin :refs/heads/branch_to_delete)
+# Delete remote tag v0.139: git push origin :v0.139
+# (git push origin :refs/tags/tag_to_delete)
+# Create remote-tracking branch: git checkout -b pim0.142 origin/pim0.142
+# Rename branch qpimd to pim: git branch -m qpimd pim
+# Commit changes: git commit -a
+# Send changes: git push --all
+#
+# Recipe to re-sync with Quagga repository:
+# git clone https://github.com/udhos/qpimd quagga
+# cd quagga
+# git checkout master
+# git pull http://git.sv.gnu.org/r/quagga.git master
+# git checkout -b pim origin/pim
+# git rebase master pim
+# # Test, then push back into Github repository:
+# git push origin :pim ;# delete remote branch pim
+# git push --all
+#
+# $QuaggaId: $Format:%an, %ai, %h$ $
+
+git clone https://github.com/udhos/qpimd