- Download the xdoc2txt tool from: http://ebstudio.info/home/xdoc2txt.html#download
- extract "xdoc2txt.exe" and locate it on your PATH folder
- edit your gitattributes as A:
- edit your gitconfig as B:
*.xls diff=xdoc2txt
*.xls diff=xdoc2txt
https://git-scm.com/docs/git-rebase に記載されている説明を、厳密な正確性よりも分かりやすさを優先して書き換えたものです。 git reabse の使い方に悩む方々の参考になればと思い公開します。
git rebase [--onto 接続先] 上流ブランチ [対象ブランチ]
alias=doskey /macros | |
a=doskey /macros | |
h=doskey /history | |
l=dir /b $* | |
ziplist=unzip -l $* | |
7zlist=7z l $* | |
patchzip=perl -n -e "print if s/^Index: //;" patch.diff | zip patch.zip -@ | |
..=pushd ..\$* | |
...=pushd ..\..\$* | |
....=pushd ..\..\..\$* |
// wrapper functions to fix C4996 on VS2019 | |
//#include <string.h> | |
//#include <stdlib.h> | |
//#include <stdio.h> | |
//#include <wchar.h> | |
//#include <tchar.h> | |
template <typename T> T* malloc_array(rsize_t size) { | |
return static_cast<T*>(malloc(sizeof(T) * size)); | |
} |
/** GitBuckect 4.3x's User-defined CSS にて gitbucket-print-ready.js と同等の印刷結果を得る */ | |
/* コードブロックの背景色とボーダ設定が上書きされているので、さらに上書きする. */ | |
div.markdown-body pre.prettyprint { | |
border: 1px solid #888!important; | |
background-color: #f5f5f5; | |
} | |
@media print { | |
/* コードブロックのスクロールバーは印刷時には無意味なので、行折り返しに変更する */ | |
div.markdown-body pre.prettyprint { |
# git config --global -e | |
[core] | |
autocrlf = true | |
excludesfile = C:/Users/hkuno/Documents/gitignore_global.txt | |
quotepath = false | |
## http://orangeclover.hatenablog.com/entry/20121004/1349353957 | |
## editor = 'C:/Program Files (x86)/Hidemaru/Hidemaru.exe' //fu8 | |
## editor = 'C:/Program Files (x86)/sakura/sakura.exe' -code=4 | |
## editor = 'C:/Program Files (x86)/EmEditor/EmEditor.exe' //cp 65001 | |
## editor = 'C:/Program Files (x86)/TeraPad/TeraPad.exe' //cu8 |
macro name | target | |
---------------|------------- | |
_AFX | MFC classes | |
__CSTRINGT_H__ | CString | |
__AFXSTR_H__ | MFC's CString | |
__ATLSTR_H__ | ATL's CString | |
#include <import.h> |
en_US 0x409 | |
ja_JP 0x411 | |
zh_CN 0x804 | |
zh_TW 0x404 | |
ko_KR 0x412 |
git clone https://who@github.com/who/proj.git | |
cd proj | |
# set remote mirror URL | |
git remote add --mirror=push mirror1 https://who@bitbucket.org/who/proj.git | |
git remote add --mirror=push mirror2 https://who@abc.com/who/proj.git | |
# push to remote-mirrors | |
git push mirror1 | |
git push mirror2 | |
# push to direct-URL | |
git push --mirror https://who@xyz.com/who/proj.git |