This website requires JavaScript.
Explore
Help
Sign In
janek
/
dotfiles
Watch
1
Star
0
Fork
You've already forked dotfiles
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
82c053886d
dotfiles
/
.local
/
bin
/
scripts
/
git-p
6 lines
105 B
Plaintext
Raw
Normal View
History
Unescape
Escape
config/git: rework git-p
2021-02-16 12:11:05 +00:00
#!/bin/sh
config: add autostarts
2021-03-12 09:21:23 +00:00
if git rev-parse @{u} 2>/dev/null >/dev/null
then git push
else git push --set-upstream
fi