git commit代码后,但是没有push之前,如果发现提交的代码有一个部分是有问题的,或者commit message写的太随便了想改一下,以下命令会帮到你 git reset HEAD^ 敲击该命令后,commit的代码会回退到你的工作区。将问题代码改好后, 从新git add git com ...
分类:
其他好文 时间:
2021-07-02 15:42:06
阅读次数:
0
Proj4js 是一个开源的 JavaScript 库,用于将点坐标从一个坐标系转换到另一个坐标系,包括基准转换。
git代码库地址:https://github.com/proj4js/proj4js
另一个坐标系在线查询和坐标转换地址:https://epsg.io/
在PostGIS中... ...
分类:
Web程序 时间:
2021-07-02 15:29:04
阅读次数:
0
我们写的 PVPC 的代码在 gitee 上可以下载:https://gitee.com/luyi07/pvpc.git 这里摘录一个脚本,用来自动做变分+投影,在最新的版本里会放在 example/run.sh 中,运行方法: bash run.sh #!/bin/bash nucleus=Cr4 ...
分类:
其他好文 时间:
2021-07-01 17:36:28
阅读次数:
0
vxe table pc端表格解决方案 vxe官方文档 vxe-grid 通过edit-config来配置表格点击编辑 触发的条件响应形式 再在相应的column 中配置edit-render设置每一行编辑的显示样式 <vxe-grid ref="xTable" resizable border s ...
分类:
其他好文 时间:
2021-07-01 17:28:15
阅读次数:
0
before commit, do: git rm --cached <filename> ATTENTION: do not use 'git rm <filename>', this will delete the file from disk if commited, first use: " ...
分类:
其他好文 时间:
2021-07-01 17:07:16
阅读次数:
0
//-n 预览需要删除版本控制的文件列表 git rm -r -n --cached "vendor" //执行删除命令 git rm -r --cached "vendor" //添加文件到.gitignore //提交git commit -m "remove vendor" //提交到远程服务 ...
分类:
其他好文 时间:
2021-07-01 17:03:23
阅读次数:
0
利用yum 安装docker 安装一些必要的系统工具: sudo yum install -y yum-utils device-mapper-persistent-data lvm2 添加软件源信息: sudo yum-config-manager --add-repo http://mirror ...
分类:
数据库 时间:
2021-07-01 17:02:47
阅读次数:
0
osmdroid's MapView is basically a replacement for Google's MapView class. First of all, create your Android project, and follow HowToMaven if you're u ...
分类:
移动开发 时间:
2021-07-01 16:54:55
阅读次数:
0
current status: We have a remote repository and a local project repository with no git configured. We want to push to remote and create new branch. Pr ...
分类:
其他好文 时间:
2021-07-01 16:24:13
阅读次数:
0
一、获取服务名 登陆 consul UI 平台, 找到我们对应的服务,他们服务在 consul 中的名称。 二、 脚本 注销基于的api: http://{}:{}/v1/agent/service/deregister/{} 注销脚本: #!/usr/bin/env python3 # -*- c ...
分类:
其他好文 时间:
2021-06-30 18:26:30
阅读次数:
0