sosogengdongni

OpenStack社区代码贡献--commit环境搭建

commit
1.Git配置
   git config --global user.name "wanghongtaozz"
   git config --global user.email wanghongtaozz@inspur.com
   git config --global gitreview.username "wanghongtaozz"
   git config --global gitreview.scheme https
   git config --global gitreview.port 443
git config --list(查看配置)
2.拉取代码
git clone https://git.openstack.org/openstack/stackalytics.git
3.安装git-review
(1)sudo pip install git-review (不成功的时候apt-get update)
(2)cd stackalytics ,git review –s
(3)如果git review -s 报错
(4)cd ..
(6) git review –s 提示输入密码说明环境好了
4.commit
(1)git remote –v查看远程环境配置
(2)git remote update
(3)修改代码,commit
(4)git review
5.查找拼写错误
git ls-files | grep -v locale | misspellings -f-
不能用的时候,首先要安装pip install misspellings

分类:

技术点:

相关文章:

  • 2021-07-20
  • 2021-06-08
  • 2021-04-24
  • 2021-09-07
  • 2021-12-04
  • 2021-08-26
  • 2021-10-05
  • 2022-12-23
猜你喜欢
  • 2021-12-05
  • 2021-08-28
  • 2021-08-31
  • 2021-07-28
  • 2022-03-12
  • 2021-10-09
  • 2021-09-03
相关资源
相似解决方案