commit 2c4127f74b4bacd8e3ae5ae4844975fd568147d1
parent 3b0af1b48b91d550cde76fe758719fedd3095d75
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Tue, 18 Jun 2019 16:05:55 +0200
git: aliases
Former-commit-id: 86afaffe7936c2b7f9e5df214a5380c3043efbf0
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/git/gitconfig b/git/gitconfig
@@ -50,6 +50,7 @@
pff = pull --ff-only
pnf = pull --no-ff
fuckit = reset --hard HEAD
+ fuckitall = reset --hard origin/master
home = "!git remote get-url origin | sed -E 's|^git@([^:]+):|https://\\1/|' | tr -d '\n'"
up-sub = "!git submodule foreach git pull; git submodule update --init --recursive -j8"
open = "!open $(git home)"