Guest User

Untitled

a guest
Jul 17th, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.06 KB | None | 0 0
  1. [root@rbnote tmp]# mkdir test
  2. [root@rbnote tmp]# touch test/file
  3. [root@rbnote tmp]# chown redbaron test/file
  4. [root@rbnote tmp]# ls -lh test/
  5. итого 0
  6. -rw-r--r-- 1 redbaron root 0 Дек 14 16:37 file
  7. [root@rbnote tmp]# cd test/
  8. [root@rbnote test]# git init
  9. Initialized empty Git repository in /tmp/test/.git/
  10. [root@rbnote test]# git add .
  11. [root@rbnote test]# git commit -m ""
  12. Aborting commit due to empty commit message.
  13. [root@rbnote test]# git commit -m "noop"
  14. [master (root-commit) d0f185a] noop
  15. Committer: System Administrator <root@rbnote.localdomain>
  16. Your name and email address were configured automatically based
  17. on your username and hostname. Please check that they are accurate.
  18. You can suppress this message by setting them explicitly:
  19.  
  20. git config --global user.name "Your Name"
  21. git config --global user.email you@example.com
  22.  
  23. If the identity used for this commit is wrong, you can fix it with:
  24.  
  25. git commit --amend --author='Your Name <you@example.com>'
  26.  
  27. 0 files changed, 0 insertions(+), 0 deletions(-)
  28. create mode 100644 file
  29. [root@rbnote test]# ls
  30. file
  31. [root@rbnote test]# cd /tmp/
  32. [root@rbnote tmp]# git clone /tmp/test /tmp/test2
  33. Cloning into /tmp/test2...
  34. done.
  35. [root@rbnote tmp]# cd /tmp/test2
  36. [root@rbnote test2]# ls -lha
  37. итого 0
  38. drwxr-xr-x 3 root root 80 Дек 14 16:38 .
  39. drwxrwxrwt 10 root root 240 Дек 14 16:38 ..
  40. -rw-r--r-- 1 root root 0 Дек 14 16:38 file
  41. drwxr-xr-x 8 root root 260 Дек 14 16:38 .git
Add Comment
Please, Sign In to add comment