既然安装了GIT for Windows, 那免不了需要配置一下. 这里backup自己的configuration.
配置的命令比如:
$ git config --global user.name "Zhang San"
$ git config --global user.email "zhangsan.android@gmail.com"
$ git config --global alias.ci commit
配置KDiff3作为merge tool和diff tool
1.
下载KDiff3 (
http://sourceforge.net/projects/kdiff3/)并且安装.
2.
$ git config --global merge.tool kdiff3
$ git config --global meregtool.kdiff3.path "C:/Program Files (x86)/KDiff3/kdiff3.exe"
3.
然后启动gitk GUI界面
$ gitk
在Edit->Preferences->External diff tool输入"C:/Program Files (x86)/KDiff3/kdiff3.exe"
下面我的.gitconfig文件, backup一下
[alias]
ci = commit
co = checkout
st = status
br = branch
oneline = log --pretty=oneline --since='2 days ago'
onelog = log -p -1
[user]
name = Zhang San
email = zhangsan.android@gmail.com
[color]
diff = auto
status = auto
branch = auto
ui = auto
[merge]
tool = kdiff3
[mergetool "kdiff3"]
path = C:/Program Files (x86)/KDiff3/kdiff3.exe
分享到:
相关推荐
Chapter 4: Configuration and Setup Chapter 5: Getting Productive Connected Lab 2: Creating and Exploring a Git Repository and Managing Content Chapter 6: Tracking Changes Connected Lab 3: Tracking ...
* A new tag.gpgSign configuration variable turns "git tag -a" into "git tag -s". * "git multi-pack-index" learned expire and repack subcommands. * "git blame" learned to "ignore" commits in the ...
Configuration Chapter 3. Branching, Merging, and Options Chapter 4. Rebase Regularly and Interactively, and Other Use Cases Chapter 5. Storing Additional Information in Your Repository Chapter 6. ...
点文件 chezmoi处理的个人 。 设定新目标 git clone https://github.com/joow/dotfiles.git ...# Git configuration [ data . git ] # mandatory name = " YOUR NAME " # mandatory email = " YOU
and the "sendemail.sendmailCmd" configuration variable, which is a more sensible approach than the current way of repurposing the "smtp-server" that is meant to name the server to instead name the ...
本地安装 使用Composer安装开发依赖项: composer install 配置: ... 数据库: 使用sql/database.sql创建一个新MySQL / MariaDB数据库,创建数据库... ├─ .git/ # Git configuration and source directory ├─ c
Once you have accustomed yourself to the basics, you’ll explore techniques to configure Git with comprehensive examples and configuration targets. You’ll gain insights into improving your ...
loggit-maven-plugin 为什么要使用另一个changelog插件? 其他changelog插件都没有我需要的功能的正确组合: 降价格式 更明智地选择提交范围(包括标签) 项目活动 产品特点 使用将git日志转换为任何格式。 指定...
git配置测试 如果您能看到这个,那就去参加讲习班了!
Git in Practice is a collection of 66 tested ... Finally you'll work out how to use Git to its full potential through configuration, team workflows, submodules and using GitHub pull requests effectively.
-upgrade pipsudo pip install --upgrade virtualenvcd /var/tmpgit clone https://github.com/dhasthagheer/edx-distributed-configuration.git configurationsudo pip install -r /var/tmp/config
执照GPLv3帮助信息git 等: Usage: git-etc [ -c | --config /etc/git-etc.conf ] [ -h | --help ] [ -v | --version ] Parametrs: -c --config - path to configuration file -h --help - show this help and exit ...
useGit:Git学习及关联github网站实践手册
git-clone-init:在git clone上自动设置用户身份(user.email user.name)
nginx-configuration, 创建和管理 Nginx 配置的实用程序和模板 Nginx 配置针对各种用例的Nginx 配置模板集合,主要用于运行 PHP web应用程序。安装sudo git clone ...
# Alias to run git configuration against bare repository alias dotfile="/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME" # You will also want dotfile config status.showUntrackedFiles no # ...
Setup your Git repositories to always use a specific identity based on the directory tree.With karn, you never have to manually change the local repository configuration to a different identity from ...
git clone git@github.com:SagarYadav17/System-Configuration.git ~ / 首先运行main.sh脚本。 sudo ./main.sh # chmod +x main.sh (if any error pops-up) 在此之后,运行gitConfig.sh获取ssh-key和东西。 ./...
Winton.Extensions.Configuration.Consul, 在dotnet核心应用程序中,允许将Consul用作配置源 Winton.Extensions.Configuration.Consul 添加使用管理员配置. NET 核心应用程序的支持。 预期配置将作为一个对象存储在...
将要安装的程序终结者ZSH 哦,我的Zsh插件吉特码头工人组成码头工人git自动获取历史须藤ubuntu 网络搜索计时器zsh-自动建议将要完成的配置SSH密钥用法打开终端sudo apt-get -y install gitgit clone ...