Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhuster committed Nov 25, 2024
1 parent ee61338 commit 7e839e6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
git_push:
nvim -c "source scripts/git-push.vim" -c "q"
nvim --headless -c "source scripts/git-push.vim" -c "q"
8 changes: 8 additions & 0 deletions scripts/.fuse_hidden000017b700000002
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Git add .
let s:commitMsg = input("Commit message: ", "", "file")
if len(s:commitMsg) == 0
finish
endif
exec "Git commit -m '" . s:commitMsg . "'"
Git pull --rebase
Git push
2 changes: 1 addition & 1 deletion scripts/git-push.vim
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ let s:commitMsg = input("Commit message: ", "", "file")
if len(s:commitMsg) == 0
finish
endif
exec "Git commit -m '" . s:commitMsg . "'"
exec "Git commit -m '".s:commitMsg."'"
Git pull --rebase
Git push

0 comments on commit 7e839e6

Please sign in to comment.