Advertisement
Guest User

Untitled

a guest
Aug 16th, 2012
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.63 KB | None | 0 0
  1. Last login: Wed Aug 15 23:27:26 on ttys000
  2. Zerocools-MacBook:~ pamusriharsha$ cd metadatarepository/
  3. Zerocools-MacBook:metadatarepository pamusriharsha$ git add -A
  4. Zerocools-MacBook:metadatarepository pamusriharsha$ git commit -m "Changes in the PackageForm and Controller"
  5. [1.1 c28793f] Changes in the PackageForm and Controller
  6. 2 files changed, 11 insertions(+), 9 deletions(-)
  7. Zerocools-MacBook:metadatarepository pamusriharsha$ git push
  8. Username:
  9. Password:
  10. Counting objects: 33, done.
  11. Delta compression using up to 2 threads.
  12. Compressing objects: 100% (16/16), done.
  13. Writing objects: 100% (17/17), 1.55 KiB, done.
  14. Total 17 (delta 9), reused 0 (delta 0)
  15. To https://github.com/rkorytkowski/openmrs-contrib-metadatarepository.git
  16. 3a7ca55..c28793f 1.1 -> 1.1
  17. Zerocools-MacBook:metadatarepository pamusriharsha$ git checkout master
  18. error: Your local changes to the following files would be overwritten by checkout:
  19. web/src/main/java/org/openmrs/contrib/metadatarepository/webapp/controller/PackageFormController.java
  20. web/src/main/webapp/WEB-INF/pages/packageform.jsp
  21. Please, commit your changes or stash them before you can switch branches.
  22. Aborting
  23. Zerocools-MacBook:metadatarepository pamusriharsha$ git pull
  24. From https://github.com/rkorytkowski/openmrs-contrib-metadatarepository
  25. 015d277..c28793f master -> origin/master
  26. You asked me to pull without telling me which branch you
  27. want to merge with, and 'branch.1.1.merge' in
  28. your configuration file does not tell me, either. Please
  29. specify which branch you want to use on the command line and
  30. try again (e.g. 'git pull <repository> <refspec>').
  31. See git-pull(1) for details.
  32.  
  33. If you often merge with the same branch, you may want to
  34. use something like the following in your configuration file:
  35.  
  36. [branch "1.1"]
  37. remote = <nickname>
  38. merge = <remote-ref>
  39.  
  40. [remote "<nickname>"]
  41. url = <url>
  42. fetch = <refspec>
  43.  
  44. See git-config(1) for details.
  45. Zerocools-MacBook:metadatarepository pamusriharsha$ git pull master
  46. fatal: 'master' does not appear to be a git repository
  47. fatal: The remote end hung up unexpectedly
  48. Zerocools-MacBook:metadatarepository pamusriharsha$ git add -A
  49. Zerocools-MacBook:metadatarepository pamusriharsha$ git commit -m "Fixed Tests"[1.1 307bf6f] Fixed Tests
  50. 3 files changed, 10 insertions(+), 17 deletions(-)
  51. Zerocools-MacBook:metadatarepository pamusriharsha$ git checkout master
  52. Switched to branch 'master'
  53. Your branch is behind 'origin/master' by 6 commits, and can be fast-forwarded.
  54. Zerocools-MacBook:metadatarepository pamusriharsha$ git push -u origin master
  55. Username:
  56. Password:
  57. To https://github.com/rkorytkowski/openmrs-contrib-metadatarepository.git
  58. ! [rejected] master -> master (non-fast-forward)
  59. error: failed to push some refs to 'https://github.com/rkorytkowski/openmrs-contrib-metadatarepository.git'
  60. To prevent you from losing history, non-fast-forward updates were rejected
  61. Merge the remote changes (e.g. 'git pull') before pushing again. See the
  62. 'Note about fast-forwards' section of 'git push --help' for details.
  63. Zerocools-MacBook:metadatarepository pamusriharsha$ git add -A
  64. Zerocools-MacBook:metadatarepository pamusriharsha$ git commit -m "All fixes"
  65. [master f493ce8] All fixes
  66. 6 files changed, 29 insertions(+), 31 deletions(-)
  67. Zerocools-MacBook:metadatarepository pamusriharsha$ git push -u origin master
  68. Username:
  69. Password:
  70. To https://github.com/rkorytkowski/openmrs-contrib-metadatarepository.git
  71. ! [rejected] master -> master (non-fast-forward)
  72. error: failed to push some refs to 'https://github.com/rkorytkowski/openmrs-contrib-metadatarepository.git'
  73. To prevent you from losing history, non-fast-forward updates were rejected
  74. Merge the remote changes (e.g. 'git pull') before pushing again. See the
  75. 'Note about fast-forwards' section of 'git push --help' for details.
  76. Zerocools-MacBook:metadatarepository pamusriharsha$ git push
  77. Username:
  78. Password:
  79. Counting objects: 46, done.
  80. Delta compression using up to 2 threads.
  81. Compressing objects: 100% (24/24), done.
  82. Writing objects: 100% (26/26), 2.35 KiB, done.
  83. Total 26 (delta 10), reused 0 (delta 0)
  84. To https://github.com/rkorytkowski/openmrs-contrib-metadatarepository.git
  85. c28793f..307bf6f 1.1 -> 1.1
  86. ! [rejected] master -> master (non-fast-forward)
  87. error: failed to push some refs to 'https://github.com/rkorytkowski/openmrs-contrib-metadatarepository.git'
  88. To prevent you from losing history, non-fast-forward updates were rejected
  89. Merge the remote changes (e.g. 'git pull') before pushing again. See the
  90. 'Note about fast-forwards' section of 'git push --help' for details.
  91. Zerocools-MacBook:metadatarepository pamusriharsha$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement