forked from pelegb/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7048d16
commit 027dda3
Showing
5 changed files
with
23 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,11 @@ | |
My dot files shared between machines for ZSH, Bash, OSX, Linux, Cygwin and MSYS. | ||
|
||
## Installation | ||
Run [`install-dotfiles.sh`](https://github.com/mikemcquaid/dotfiles/blob/master/install-dotfiles.sh) after checkout to symlink (or copy) everything in this directory to your home directory. | ||
Customise the contents of [`gitconfig-user`](https://github.com/mikemcquaid/dotfiles/blob/master/gitconfig-user). | ||
This is used for user-specific customisations of every other file. | ||
|
||
Run [`install-dotfiles.sh`](https://github.com/mikemcquaid/dotfiles/blob/master/install-dotfiles.sh) | ||
after checkout to symlink (or copy) everything in this directory to your home directory. | ||
|
||
## Contact | ||
[Mike McQuaid](mailto:[email protected]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
[user] | ||
# Name used in commit messages. | ||
name = Mike McQuaid | ||
# Email used in commit messages. | ||
email = [email protected] | ||
[include] | ||
path = ~/.gitconfig-user | ||
[color] | ||
# Colour terminal command output when possible. | ||
ui = auto | ||
[github] | ||
# Set my GitHub username for command-line tools. | ||
user = mikemcquaid | ||
[gist] | ||
# Open GitHub Gist in browser after submission. | ||
browse = true | ||
|
@@ -77,8 +71,7 @@ | |
pull-master = !git checkout master && git pull | ||
# Update the staging, master and current branches. | ||
pull-master-staging-and-current-branch = !BRANCH=$(git current-branch) && git fetch --all && git pull-staging && git pull-master && git checkout $BRANCH && git pull | ||
# Reset the current repository to the state on mikebook and clean it. | ||
mikebook = !git fetch mikebook && git reset --hard mikebook/master && git clean -xdf | ||
|
||
# Merge a branch with a merge commit and use the more time-consuming | ||
# patience diff algorithm | ||
patience = !git noff -Xpatience | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[user] | ||
# Name used in commit messages. | ||
name = Mike McQuaid | ||
# Email used in commit messages. | ||
email = [email protected] | ||
[github] | ||
# Set my GitHub username for command-line tools. | ||
user = mikemcquaid | ||
[alias] | ||
# Reset the current repository to the state on mikebook (my MacBook Pro) and clean it. | ||
mikebook = !git fetch mikebook && git reset --hard mikebook/master && git clean -xdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters