Browse Source

git: u: update current branch

master
Maxim Likhachev 6 years ago
parent
commit
f9fd48d594
  1. 4
      etc/soft/git/gitconfig

4
etc/soft/git/gitconfig

@ -38,7 +38,7 @@ @@ -38,7 +38,7 @@
st = status
p = pull
u = push origin master
u = "!echo git push origin $(git rev-parse --abbrev-ref HEAD)"
co = checkout
@ -59,7 +59,7 @@ @@ -59,7 +59,7 @@
# http://gitboard.net
board = !gitboard 2>&-
url = !git remote -v | grep fetch | grep -o 'https.* ' | xargs xdg-open
url = !git remote -v | grep fetch | grep -o 'https.* '
hub = "!github_clone() { git clone git://github.com/${1}.git; }; github_clone"
nb = "!github_clone() { git clone https://notabug.org/${1}.git; }; github_clone"

Loading…
Cancel
Save