sonyet 发表于 2018-9-17 10:12:37

Git实践

$ touch newfile  
$ git add .
  
$ git commit -m "add new file"
  
add new file
  
1 file changed, 0 insertions(+), 0 deletions(-)
  
create mode 100644 newfile
  
$ git push origin
  
Counting objects: 4, done.
  
Delta compression using up to 2 threads.
  
Compressing objects: 100% (2/2), done.
  
Writing objects: 100% (3/3), 384 bytes, done.
  
Total 3 (delta 0), reused 0 (delta 0)
  
remote: now path is :/home/yu/repo/test.git
  
remote: deploy path is :/tmp/deploy
  
remote: cd deploy path
  
remote: From /home/yu/repo/test
  
remote:    6627165..5ac80ecmaster   -> origin/master
  
remote: Updating 6627165..5ac80ec
  
remote: Fast-forward
  
remote:newfile | 0
  
remote:1 file changed, 0 insertions(+), 0 deletions(-)
  
remote:create mode 100644 newfile
  
remote: deploy done
  
remote: fine
  
To yu@localhost:repo/test.git
  
   b3a32f2..5ac80ecmaster -> master
  
$


页: [1]
查看完整版本: Git实践