发表于 2018-9-17 13:01:35

Gitolite如何导入其它git代码库

$ vi gitolite.conf  
repo    gitolite-admin
  
      RW+   =   gitadmin
  

  
repo    testing
  
      RW+   =   @all
  

  

  
repo sdk                           #sdn名称与要导入的项目名一样
  
   RW+ = gitadmin                #授于用户权限
  

  

  
$ git add .
  
$ git commit -m "add sdk repo"
  
add a new repo
  
Committer: sunny
  
Your name and email address were configured automatically based
  
on your username and hostname. Please check that they are accurate.
  
You can suppress this message by setting them explicitly:
  

  
    git config --global user.name "Your Name"
  
    git config --global user.email you@example.com
  

  
If the identity used for this commit is wrong, you can fix it with:
  

  
    git commit --amend --author='Your Name '
  

  
1 files changed, 3 insertions(+), 1 deletions(-)
  
$ git push
  
Counting objects: 7, done.
  
Delta compression using up to 4 threads.
  
Compressing objects: 100% (3/3), done.


页: [1]
查看完整版本: Gitolite如何导入其它git代码库