|
@@ -0,0 +1,56 @@
|
|
|
+<view>
|
|
|
+ <view class="{{popupCx}}">
|
|
|
+ <view catchTap="onOpen" style="padding:20rpx;">打开</view>
|
|
|
+ </view>
|
|
|
+ <view class="box" animation="{{animationInfo}}">
|
|
|
+ <view class="all">
|
|
|
+ <view class="close" catchTap="onClose">关</view>
|
|
|
+ <view class="flex-box">
|
|
|
+ <scroll-view class="flex-2" scroll-y="{{true}}" style="height:500rpx;">
|
|
|
+ <view style="height:500rpx;background:#E6A23C">
|
|
|
+ // 配置用户账号信息
|
|
|
+ git config --global user.name 'gitHub name'
|
|
|
+ git config --global user.email 'gitHub email'
|
|
|
+
|
|
|
+ // 重置或者修改用户账号信息
|
|
|
+ // 第一种直接按上面配置,第二种就是替换(备用),这个是全局配置
|
|
|
+ git config --global user.name "James"
|
|
|
+ git config --global user.email "1282285801@qq.com"
|
|
|
+
|
|
|
+ // 查看当前使用者的信息和邮箱
|
|
|
+ git config user.name
|
|
|
+ git config user.email
|
|
|
+ // 也可以通过全局查看
|
|
|
+ git config --global --list
|
|
|
+
|
|
|
+ // 添加多个用户配置
|
|
|
+ git config --global --add user.name 'name'
|
|
|
+ git config --global --add user.email 'email'
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
+ <scroll-view class="flex-5" scroll-y="{{true}}" style="height:500rpx;">
|
|
|
+ <view style="height:1500rpx;background:#F56C6C">
|
|
|
+ // 配置用户账号信息
|
|
|
+ git config --global user.name 'gitHub name'
|
|
|
+ git config --global user.email 'gitHub email'
|
|
|
+
|
|
|
+ // 重置或者修改用户账号信息
|
|
|
+ // 第一种直接按上面配置,第二种就是替换(备用),这个是全局配置
|
|
|
+ git config --global user.name "James"
|
|
|
+ git config --global user.email "1282285801@qq.com"
|
|
|
+
|
|
|
+ // 查看当前使用者的信息和邮箱
|
|
|
+ git config user.name
|
|
|
+ git config user.email
|
|
|
+ // 也可以通过全局查看
|
|
|
+ git config --global --list
|
|
|
+
|
|
|
+ // 添加多个用户配置
|
|
|
+ git config --global --add user.name 'name'
|
|
|
+ git config --global --add user.email 'email'
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+</view>
|