Guest User

Untitled

a guest
Jan 18th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.15 KB | None | 0 0
  1. hiddenftp izet_scripts # git add old_file_delete.sh
  2. hiddenftp izet_scripts # git commit -m 'Added old files delete script'
  3. [master 4cd43df] Added old files delete script
  4. Committer: root <root@hiddenftp.(none)>
  5. Your name and email address were configured automatically based
  6. on your username and hostname. Please check that they are accurate.
  7. You can suppress this message by setting them explicitly:
  8.  
  9. git config --global user.name "Your Name"
  10. git config --global user.email you@example.com
  11.  
  12. If the identity used for this commit is wrong, you can fix it with:
  13.  
  14. git commit --amend --author='Your Name <you@example.com>'
  15.  
  16. 1 files changed, 41 insertions(+), 0 deletions(-)
  17. create mode 100755 old_file_delete.sh
  18. hiddenftp izet_scripts # git config --list
  19. core.repositoryformatversion=0
  20. core.filemode=true
  21. core.bare=false
  22. core.logallrefupdates=true
  23. remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
  24. remote.origin.url=alp@find.zet:/var/git/izet_scripts
  25. branch.master.remote=origin
  26. branch.master.merge=refs/heads/master
  27. hiddenftp izet_scripts # git commit --amend --author='mks@i-zet.ru'
  28. [master 425ed64] Added old files delete script
  29. Author: itJunky <mks@i-zet.ru>
  30. Committer: root <root@hiddenftp.(none)>
  31. Your name and email address were configured automatically based
  32. on your username and hostname. Please check that they are accurate.
  33. You can suppress this message by setting them explicitly:
  34.  
  35. git config --global user.name "Your Name"
  36. git config --global user.email you@example.com
  37.  
  38. If the identity used for this commit is wrong, you can fix it with:
  39.  
  40. git commit --amend --author='Your Name <you@example.com>'
  41.  
  42. 1 files changed, 41 insertions(+), 0 deletions(-)
  43. create mode 100755 old_file_delete.sh
  44. hiddenftp izet_scripts # ll
  45. total 20K
  46. drwxr-xr-x 3 root root 4.0K Sep 26 11:56 .
  47. drwxr-xr-x 5 alp alp 4.0K Sep 26 11:44 ..
  48. drwxr-xr-x 7 root root 4.0K Sep 26 12:00 .git
  49. -rwxr-xr-x 1 root root 1.2K Sep 26 11:44 copy_files.sh
  50. -rwxr-xr-x 1 root root 916 Sep 26 11:56 old_file_delete.sh
  51. hiddenftp izet_scripts # git status
  52. # On branch master
  53. # Your branch is ahead of 'origin/master' by 1 commit.
  54. #
  55. nothing to commit (working directory clean)
  56. hiddenftp izet_scripts # git log
  57. commit 425ed64fc581bac5c4d4048e737ea14d568aaae4
  58. Author: itJunky <mks@i-zet.ru>
  59. Date: Mon Sep 26 11:57:27 2011 +0400
  60.  
  61. Added old files delete script
  62.  
  63. commit 323df9d372606d715f36df6acb00869c36c8d90f
  64. Author: itJunky <mks@i-zet.ru>
  65. Date: Mon Sep 26 11:47:39 2011 +0400
  66.  
  67. First version of cioy_files script
  68. hiddenftp izet_scripts # git remote -v
  69. origin alp@find.zet:/var/git/izet_scripts (fetch)
  70. origin alp@find.zet:/var/git/izet_scripts (push)
  71. hiddenftp izet_scripts # git push origin master
  72. Password:
  73. Counting objects: 4, done.
  74. Delta compression using up to 2 threads.
  75. Compressing objects: 100% (3/3), done.
  76. Writing objects: 100% (3/3), 761 bytes, done.
  77. Total 3 (delta 0), reused 0 (delta 0)
  78. error: insufficient permission for adding an object to repository database ./objects
  79.  
  80. fatal: failed to write object
  81. error: unpack failed: unpack-objects abnormal exit
  82. To alp@find.zet:/var/git/izet_scripts
  83. ! [remote rejected] master -> master (n/a (unpacker error))
  84. error: failed to push some refs to 'alp@find.zet:/var/git/izet_scripts'
  85. hiddenftp izet_scripts # git push origin master
  86. Password:
  87. Counting objects: 4, done.
  88. Delta compression using up to 2 threads.
  89. Compressing objects: 100% (3/3), done.
  90. Writing objects: 100% (3/3), 761 bytes, done.
  91. Total 3 (delta 0), reused 0 (delta 0)
  92. remote: warning: updating the current branch
  93. To alp@find.zet:/var/git/izet_scripts
  94. 323df9d..425ed64 master -> master
  95. hiddenftp izet_scripts # git push origin master
  96. Password:
  97.  
  98. hiddenftp izet_scripts # ll
  99. total 20K
  100. drwxr-xr-x 3 root root 4.0K Sep 26 11:56 .
  101. drwxr-xr-x 5 alp alp 4.0K Sep 26 11:44 ..
  102. drwxr-xr-x 7 root root 4.0K Sep 26 12:27 .git
  103. -rwxr-xr-x 1 root root 1.2K Sep 26 11:44 copy_files.sh
  104. -rwxr-xr-x 1 root root 916 Sep 26 11:56 old_file_delete.sh
  105. hiddenftp izet_scripts # git push origin master
  106. Password:
  107. Everything up-to-date
  108. hiddenftp izet_scripts # git status
  109. # On branch master
  110. nothing to commit (working directory clean)
Add Comment
Please, Sign In to add comment