demo.axml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <view>
  2. <view class="{{popupCx}}">
  3. <view catchTap="onOpen" style="padding:20rpx;">打开</view>
  4. </view>
  5. <view class="box" animation="{{animationInfo}}">
  6. <view class="all">
  7. <view class="close" catchTap="onClose">关</view>
  8. <view class="flex-box">
  9. <scroll-view class="flex-2" scroll-y="{{true}}" style="height:500rpx;">
  10. <view style="height:500rpx;background:#E6A23C">
  11. // 配置用户账号信息
  12. git config --global user.name 'gitHub name'
  13. git config --global user.email 'gitHub email'
  14. // 重置或者修改用户账号信息
  15. // 第一种直接按上面配置,第二种就是替换(备用),这个是全局配置
  16. git config --global user.name "James"
  17. git config --global user.email "1282285801@qq.com"
  18. // 查看当前使用者的信息和邮箱
  19. git config user.name
  20. git config user.email
  21. // 也可以通过全局查看
  22. git config --global --list
  23. // 添加多个用户配置
  24. git config --global --add user.name 'name'
  25. git config --global --add user.email 'email'
  26. </view>
  27. </scroll-view>
  28. <scroll-view class="flex-5" scroll-y="{{true}}" style="height:500rpx;">
  29. <view style="height:1500rpx;background:#F56C6C">
  30. // 配置用户账号信息
  31. git config --global user.name 'gitHub name'
  32. git config --global user.email 'gitHub email'
  33. // 重置或者修改用户账号信息
  34. // 第一种直接按上面配置,第二种就是替换(备用),这个是全局配置
  35. git config --global user.name "James"
  36. git config --global user.email "1282285801@qq.com"
  37. // 查看当前使用者的信息和邮箱
  38. git config user.name
  39. git config user.email
  40. // 也可以通过全局查看
  41. git config --global --list
  42. // 添加多个用户配置
  43. git config --global --add user.name 'name'
  44. git config --global --add user.email 'email'
  45. </view>
  46. </scroll-view>
  47. </view>
  48. </view>
  49. </view>
  50. </view>