Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. root@st1n-lap:/home/st1n/Work/Code# git clone git://github.com/q3ry/test
  2. Cloning into 'test'...
  3. remote: Counting objects: 4, done.
  4. remote: Compressing objects: 100% (3/3), done.
  5. remote: Total 4 (delta 0), reused 0 (delta 0)
  6. Receiving objects: 100% (4/4), done.
  7. root@st1n-lap:/home/st1n/Work/Code# cd test/
  8. root@st1n-lap:/home/st1n/Work/Code/test# git init
  9. Reinitialized existing Git repository in /home/st1n/Work/Code/test/.git/
  10. root@st1n-lap:/home/st1n/Work/Code/test# ls
  11. README.md
  12. root@st1n-lap:/home/st1n/Work/Code/test# > testFile
  13. root@st1n-lap:/home/st1n/Work/Code/test# git add testFile
  14. root@st1n-lap:/home/st1n/Work/Code/test# git status
  15. # On branch master
  16. # Changes to be committed:
  17. # (use "git reset HEAD <file>..." to unstage)
  18. #
  19. # new file: testFile
  20. #
  21. root@st1n-lap:/home/st1n/Work/Code/test# git commit -m "test commit"
  22. [master 250f801] test commit
  23. Committer: root <root@st1n-lap.(none)>
  24. Your name and email address were configured automatically based
  25. on your username and hostname. Please check that they are accurate.
  26. You can suppress this message by setting them explicitly:
  27.  
  28. git config --global user.name "Your Name"
  29. git config --global user.email you@example.com
  30.  
  31. After doing this, you may fix the identity used for this commit with:
  32.  
  33. git commit --amend --reset-author
  34.  
  35. 0 files changed
  36. create mode 100644 testFile
  37. root@st1n-lap:/home/st1n/Work/Code/test# git push -u origin master
  38. fatal: remote error:
  39. You can't push to git://github.com/q3ry/test.git
  40. Use git@github.com:q3ry/test.git
  41. root@st1n-lap:/home/st1n/Work/Code/test#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement