-
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
Showing
10 changed files
with
476 additions
and
128 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 |
---|---|---|
@@ -1,31 +1,39 @@ | ||
#--type-set=music=.mp3,.m4a,.flac,.ac3,.ogg,.aiff,.m4b,.aac,.wav,.wmv,.ape,.mka | ||
#--type-set=manga=.cbz,.cbr,.cba,cb7 | ||
--type-set=juck=.xcodeproj | ||
--type-set=txt=.txt | ||
--type-set=eprime=.eprime, | ||
--type-set=essence=.essence | ||
--type-set=e=.eprime,.essence,.solution | ||
--type-set=gen-ess=.eprime,.logs,.minion,.log,.eprime.solution | ||
--type-set=bak=.bak | ||
--type-set=markdown=.md,.markdown,mdown | ||
--type-add=java=.pde | ||
--type-add=ruby=.haml,.rake,.rsel,.builder | ||
--color | ||
--follow | ||
--group | ||
--ignore-dir=.cabal | ||
--ignore-dir=.cabal-sandbox | ||
--ignore-dir=.git | ||
--ignore-dir=.hg | ||
--ignore-dir=.svn | ||
--ignore-dir=__ | ||
--ignore-dir=__bugs | ||
--ignore-dir=_compiled | ||
--ignore-dir=_site | ||
--ignore-dir=bin | ||
--ignore-dir=coverage | ||
--ignore-dir=dist | ||
--ignore-dir=docs | ||
--ignore-dir=log | ||
--ignore-dir=tmp | ||
--ignore-dir=vendor | ||
--sort-files | ||
--type-add=css=.sass,.scss,.less | ||
--type-add=html=.html.erb,.html.haml | ||
--type-add=java=.pde | ||
--type-add=js=.js.erb | ||
--type-add=css=.sass,.scss,.less | ||
--type-set=jasmin=.j | ||
--type-add=ruby=.haml,.rake,.rsel,.builder | ||
--type-set=bak=.bak | ||
--type-set=cucumber=.feature | ||
--type-set=tex-temp=.pdfsync,.log,.bbl,.aux,.blg,.synctex,.fdb,.out,.toc,.fdb_latexmk | ||
--type-set=e=.eprime,.essence,.solution | ||
--type-set=eprime=.eprime, | ||
--type-set=essence=.essence | ||
--type-set=gen_ess=.eprime,.logs,.minion,.log,.eprime.solution | ||
--type-set=ignoredd=.tags,.tmtags | ||
--type-set=jasmin=.j | ||
--type-set=markdown=.md,.markdown,mdown | ||
--type-set=solution=.solution | ||
--type-set=tex=.tex,.bib | ||
--type-set=epub=.opf,.xhtml,.ncx,.css,.xml | ||
--ignore-dir=vendor | ||
--ignore-dir=log | ||
--ignore-dir=tmp | ||
--ignore-dir=docs | ||
--ignore-dir=coverage | ||
--ignore-dir=_site | ||
--ignore-dir=_compiled | ||
--sort-files | ||
--color | ||
--follow | ||
--group | ||
--type-set=tex_temp=.pdfsync,.log,.bbl,.aux,.blg,.synctex,.fdb,.out,.toc,.fdb_latexmk | ||
--type-set=txt=.txt | ||
--ignore-file=is:codex.tags |
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
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,48 +1,53 @@ | ||
[user] | ||
name = Bilal Syed Hussain | ||
semail = [email protected] | ||
email = [email protected] | ||
semail = [email protected] | ||
bemail = [email protected] | ||
email = [email protected] | ||
|
||
[color] | ||
ui = auto | ||
ui = auto | ||
|
||
[core] | ||
excludesfile = /Users/bilalh/.gitignore | ||
|
||
[alias] | ||
b = branch | ||
c = commit | ||
d = describe | ||
p = push | ||
s = status | ||
st = status | ||
w = whatchanged | ||
ca = commit -am | ||
cam = commit --amend -am | ||
ch = checkout | ||
pom = push origin master | ||
ldiff = difftool -t latex | ||
b = branch | ||
c = commit | ||
d = describe | ||
p = push | ||
st = status | ||
ca = commit -am | ||
cam = commit --amend -am | ||
ch = checkout | ||
pom = push origin master | ||
ldiff = difftool -t latex | ||
|
||
rmdel = !git ls-files -dz | xargs -0 git rm | ||
|
||
# Logs | ||
lg = log --graph --pretty=format:'%Cred%an%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --date=relative | ||
ld = log --graph --pretty=format:'%Cred%an%Creset -%C(yellow)%d%Creset %s %Cgreen(%ai)%Creset' | ||
lo = log --graph --pretty=format:'%Cred%h%Creset - %Cgreen(%cr) %C(bold blue)<%an>%Creset %s %C(yellow)%d%Creset ' --abbrev-commit --date=relative | ||
|
||
# One line per commit | ||
loa = log --graph --decorate --pretty=oneline --abbrev-commit --all | ||
|
||
# commits not pushed to $1 | ||
snapshot = !git stash save "snapshot: $(date)" && git stash apply "stash@{0}" | ||
snapshots = !git stash list --grep snapshot | ||
|
||
# Logs | ||
lg = log --graph --pretty=format:'%Cred%an%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --date=relative | ||
ld = log --graph --pretty=format:'%Cred%an%Creset -%C(yellow)%d%Creset %s %Cgreen(%ai)%Creset' | ||
lo = log --graph --pretty=format:'%Cred%h%Creset - %Cgreen(%cr) %C(bold blue)<%an>%Creset %s %C(yellow)%d%Creset ' --abbrev-commit --date=relative | ||
|
||
# One line per commit | ||
loa = log --graph --decorate --pretty=oneline --abbrev-commit --all | ||
|
||
# commits not pushed to $1 | ||
unpushed = cherry -v | ||
|
||
# what tag contains the sha | ||
tag = name-rev --name-only | ||
|
||
# what branch contains the sha | ||
contains = branch --contains | ||
# lost commits | ||
lost = !"git fsck | awk '/dangling commit/ {print $3}' | git show --format='SHA1: %C(yellow)%h%Creset %f' --stdin | awk '/SHA1/ {sub(\"SHA1: \", \"\"); print}'" | ||
# show a list of branches sorted by time of last commit | ||
|
||
# lost commits | ||
lost = !"git fsck | awk '/dangling commit/ {print $3}' | git show --format='SHA1: %C(yellow)%h%Creset %f' --stdin | awk '/SHA1/ {sub(\"SHA1: \", \"\"); print}'" | ||
|
||
# show a list of branches sorted by time of last commit | ||
brage = "!f() { git for-each-ref --sort=committerdate refs/heads $1 --format=\"%(refname:short)\" ; }; g() { for C in $(f $1) ; do git show -s --pretty=format:\"%Cgreen%ci %Cblue%cr%Creset $C\" \"$C\" -- ; done; }; g " | ||
|
||
# show remote branches as well | ||
|
@@ -52,39 +57,54 @@ | |
tagage = "!sh -c 'git for-each-ref --sort=taggerdate refs/tags --format=\"%(refname:short)\"'" | ||
|
||
# show a list of every branch and show there latests commit, sorted by last commit | ||
brlog = "!sh -c 'for C in $(git for-each-ref --sort=committerdate refs/heads --format=\"%(refname:short)\") ; do git show -s --pretty=format:\"%Cgreen%ci %Cblue%cr%Creset $C\" \"$C\" -- ; git show -s $C ; echo; done'" | ||
# url of origin, about 99% of what I use git config --list for | ||
brlog = "!sh -c 'for C in $(git for-each-ref --sort=committerdate refs/heads --format=\"%(refname:short)\") ; do git show -s --pretty=format:\"%Cgreen%ci %Cblue%cr%Creset $C\" \"$C\" -- ; git show -s $C ; echo; done'" | ||
# url of origin, about 99% of what I use git config --list for | ||
cloneurl = config --get remote.origin.url | ||
|
||
shorten = "!sh -c 'curl -i http://git.io -F url=$1' -" | ||
|
||
shorten = "!sh -c 'curl -i http://git.io -F url=$1' -" | ||
create-gitignore = "!gi() { curl http://www.gitignore.io/api/$@ ;}; gi" | ||
|
||
[core] | ||
pager = less -FRSX | ||
quotepath = false | ||
pager = less -FRSX | ||
quotepath = false | ||
editor = /Users/bilalh/bin/vim | ||
|
||
[apply] | ||
whitespace = fix | ||
whitespace = fix | ||
|
||
[gist] | ||
private = yes | ||
browse = yes | ||
|
||
private = yes | ||
browse = yes | ||
|
||
[diff] | ||
tool = icdiff | ||
|
||
[difftool] | ||
prompt = no | ||
|
||
[difftool.latex] | ||
cmd = latexdiff \"$LOCAL\" \"$REMOTE\" | ||
cmd = latexdiff \"$LOCAL\" \"$REMOTE\" | ||
|
||
[difftool.icdiff] | ||
cmd = icdiff --line-numbers \"$LOCAL\" \"$REMOTE\" | ||
|
||
[difftool "Kaleidoscope"] | ||
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\" | ||
[difftool] | ||
prompt = false | ||
[diff] | ||
tool = Kaleidoscope | ||
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\" | ||
|
||
[difftool "sourcetree"] | ||
cmd = opendiff \"$LOCAL\" \"$REMOTE\" | ||
cmd = /Applications/DiffMerge.app/Contents/MacOS/DiffMerge --nosplash \"$LOCAL\" \"$REMOTE\" | ||
path = | ||
|
||
[mergetool "sourcetree"] | ||
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\" | ||
cmd = /Applications/DiffMerge.app/Contents/MacOS/DiffMerge --merge --result=\"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\" | ||
trustExitCode = true | ||
|
||
[mergetool "Kaleidoscope"] | ||
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot | ||
trustExitCode = true | ||
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot | ||
trustExitCode = true | ||
|
||
[credential] | ||
helper = osxkeychain | ||
helper = osxkeychain | ||
|
||
[push] | ||
default = simple | ||
default = simple |
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,8 +2,10 @@ | |
username=Bilal Syed Hussain <[email protected]> | ||
|
||
ignore=/Users/bilalh/.hgignore_global | ||
|
||
[web] | ||
cacerts =/Users/bilalh/CS/its.crt | ||
cacerts =/Users/bilalh/CS/its.crt | ||
|
||
[merge-tools] | ||
sourcetreemerge.gui=False | ||
sourcetreebulkmerge.gui=False | ||
|
@@ -15,10 +17,16 @@ sourcetreemerge.premerge=True | |
sourcetreemerge.executable=/Applications/SourceTree.app/Contents/Resources/opendiff-w.sh | ||
sourcetreebulkmerge.premerge=False | ||
sourcetreebulkmerge.binary=True | ||
|
||
[alias] | ||
c = commit | ||
|
||
[extensions] | ||
color = | ||
hgext.bookmarks = | ||
hgext.extdiff = | ||
hgext.purge= | ||
|
||
[extdiff] | ||
cmd.icdiff = /Users/bilalh/bin/icdiff-hg-wrapper.sh | ||
|
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
Oops, something went wrong.