--- tag: commands --- # Github ![](https://i.stack.imgur.com/MgaV9.png) ## Useful commands - Pull another branch and merge current branch with it ```shell git fetch origin BranchName:BranchName git merge BranchName ``` :::info Here BranchName is the name of the branch you want to pull and merge. ::: - Delete Branch ``` git branch -D BranchName git remote prune origin ``` ## Git Stash [Stash](https://git-scm.com/docs/git-stash) <!-- {%hackmd BkVfcTxlQ %} -->