Browse Source

git: настройка кириллицы ++ git hub [url]

master
Maxim Likhachev 9 years ago
parent
commit
c61da47041
  1. 5
      etc/shell/bash/aliases
  2. 9
      etc/soft/git/gitconfig

5
etc/shell/bash/aliases

@ -175,11 +175,6 @@ alias w1="watch -n 1" #noindex @@ -175,11 +175,6 @@ alias w1="watch -n 1" #noindex
#{{{ \033[00m\n\b------<Сетевые_функции>\n
################################################################################
#- Загрузка проекта с github.com
githubdl() {
git clone git://github.com/${1}.git
}
#- php-сервер
phps() {
php -S ${2:-localhost}:${3:-80} -t ${1:-.}

9
etc/soft/git/gitconfig

@ -6,6 +6,7 @@ @@ -6,6 +6,7 @@
pager = "less -R -X --ignore-case -w --jump-target=.5"
editor=vim
excludesfile = ~/.shellrc/etc/soft/git/gitignore-global
quotepath = false
[gui]
wmstate = normal
@ -37,7 +38,9 @@ @@ -37,7 +38,9 @@
st = status
p = pull
u = push
u = push origin master
co = checkout
lf = log --source --graph --stat --date=iso --pretty=medium --decorate=full
ls = log --graph --pretty=format:'%Cred%h%Creset - %Cgreen[%cd]%Creset ::%C(yellow)%d%Creset %s %C(bold blue)%Creset' --abbrev-commit --date=short
@ -56,7 +59,9 @@ @@ -56,7 +59,9 @@
# http://gitboard.net
board = !gitboard 2>&-
hub = !git remote -v | grep fetch | grep -o 'https.* ' | xargs xdg-open
url = !git remote -v | grep fetch | grep -o 'https.* ' | xargs xdg-open
hub = "!github_clone() { git clone git://github.com/${1}.git; }; github_clone"
pk = !git archive HEAD --format=zip > `basename $PWD`_`\\date '+%Y.%M.%d'`.zip

Loading…
Cancel
Save