SHARE
TWEET

Untitled

a guest Dec 10th, 2018 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Cloning git@github.com:jboss-fuse/application-templates.git ...
  2. Cloning into 'application-templates'...
  3. remote: Enumerating objects: 37, done.
  4. remote: Counting objects: 100% (37/37), done.
  5. remote: Compressing objects: 100% (15/15), done.
  6. remote: Total 6321 (delta 30), reused 24 (delta 22), pack-reused 6284
  7. Receiving objects: 100% (6321/6321), 2.29 MiB | 3.36 MiB/s, done.
  8. Resolving deltas: 100% (5970/5970), done.
  9. Cloned.
  10. About to checkout TAG: application-templates-2.1.fuse-720018-redhat-00001
  11. Note: checking out 'application-templates-2.1.fuse-720018-redhat-00001'.
  12.  
  13. You are in 'detached HEAD' state. You can look around, make experimental
  14. changes and commit them, and you can discard any commits you make in this
  15. state without impacting any branches by performing another checkout.
  16.  
  17. If you want to create a new branch to retain commits you create, you may
  18. do so (now or later) by using -b with the checkout command again. Example:
  19.  
  20.   git checkout -b <new-branch-name>
  21.  
  22. HEAD is now at c58eac0 Add reference policy.
  23. Switched to a new branch 'GA'
  24. Checked out
  25. About to push TAG: application-templates-2.1.fuse-720018-redhat-00001 to origin GA
  26. error: src refspec GA  does not match any.
  27. error: failed to push some refs to 'git@github.com:jboss-fuse/application-templates.git'
  28. Done!
  29.  
  30. 10:22 $ cat ~/bin/fisImageReleasealignment
  31. #!/bin/bash
  32. export TAG=application-templates-$1
  33. echo "Cloning git@github.com:jboss-fuse/application-templates.git ..."
  34. git clone git@github.com:jboss-fuse/application-templates.git
  35. cd application-templates/
  36. echo "Cloned."
  37. echo "About to checkout TAG: $TAG"
  38. git checkout $TAG
  39. git checkout -B GA
  40. echo "Checked out"
  41. echo "About to push TAG: $TAG to origin GA"
  42. git add .
  43. git push -f origin GA
  44. echo "Done!"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top