Skip to content

Commit

Permalink
add quick git sync function
Browse files Browse the repository at this point in the history
  • Loading branch information
varemenos committed Mar 20, 2024
1 parent 9d80a84 commit d4676d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .config/fish/my_functions.fish
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,5 @@ function replace_history; echo -- $history[1]; end

function rmnm; find . -name "node_modules" -type d -prune -exec rm -rf '{}' +; end
function lsnm; find . -name "node_modules" -type d -prune; end

function sync; git fetch && git rebase origin/main; end

0 comments on commit d4676d5

Please sign in to comment.