Skip to content

Commit

Permalink
Added pull git aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
smoorg committed Apr 27, 2024
1 parent f81bf9e commit dea8e72
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ alias gap='git add . --patch'
alias gf='git fetch'
alias gfa='git fetch --all'

# push
alias gpl='git pull'
alias gplr='git pull --rebase'

# push
alias gp='git push -u origin "$(git branch --show-current)"'
alias gpf='git push -u origin "$(git branch --show-current)" -f'
alias gpf='git push -u origin "$(git branch --show-current)" --force-with-lease'

# branch
alias gbl='git branch -l'
Expand Down

0 comments on commit dea8e72

Please sign in to comment.