Guest User

Untitled

a guest
May 22nd, 2018
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. winner00@winner00-OEM ~ $ cd test
  2. winner00@winner00-OEM ~/test $ git init
  3. Initialized empty Git repository in /home/winner00/test/.git/
  4. winner00@winner00-OEM ~/test $ touch README
  5. winner00@winner00-OEM ~/test $ git add README
  6. winner00@winner00-OEM ~/test $ git commit -m 'first commit'
  7. [master (root-commit) 589e906] first commit
  8. 0 files changed, 0 insertions(+), 0 deletions(-)
  9. create mode 100644 README
  10. winner00@winner00-OEM ~/test $ git remote add origin git@github.com:winner00/test.git
  11. winner00@winner00-OEM ~/test $ git push -u origin master
  12. Counting objects: 3, done.
  13. Writing objects: 100% (3/3), 212 bytes, done.
  14. Total 3 (delta 0), reused 0 (delta 0)
  15. To git@github.com:winner00/test.git
  16. * [new branch] master -> master
  17. Branch master set up to track remote branch master from origin.
  18. winner00@winner00-OEM ~/test $ cd ~/android/system/vendor/cm
  19. winner00@winner00-OEM ~/android/system/vendor/cm $ git init
  20. Reinitialized existing Git repository in /home/winner00/android/system/vendor/cm/.git/
  21. winner00@winner00-OEM ~/android/system/vendor/cm $ touch README
  22. winner00@winner00-OEM ~/android/system/vendor/cm $ git add README
  23. winner00@winner00-OEM ~/android/system/vendor/cm $ git commit -m 'first commit'
  24. [detached HEAD ae10f43] first commit
  25. 0 files changed, 0 insertions(+), 0 deletions(-)
  26. create mode 100644 README
  27. winner00@winner00-OEM ~/android/system/vendor/cm $ git remote add origin git@github.com:winner00/android_vendor_cm.git
  28. fatal: remote origin already exists.
  29. winner00@winner00-OEM ~/android/system/vendor/cm $ git push -u origin master
  30. error: src refspec master does not match any.
  31. error: failed to push some refs to 'git@github.com:winner00/android_vendor_cm.git'
Add Comment
Please, Sign In to add comment