forked from danshumaker/bitbucket-cmd
    
        
        - 
                Notifications
    
You must be signed in to change notification settings  - Fork 5
 
PR Merging Approving Diffing Declining
        palash kulshreshtha edited this page Dec 18, 2017 
        ·
        2 revisions
      
    Merging a PR means that your changes in source branch would start reflecting in destination branch. To merge the pull request just run the following command
- 
bitbucket pr -m [merges the PR corresponding to current branch as source branch] - 
bitbucket pr -m pr_num [merges the PR corresponding to numeric pr_number mentioned in command] 
If a pull request is very small then opening it in browser will only waste your time, you can view its diff on commandline by very simple command
- 
bitbucket pr -d pr_num [shows the diff of PR corresponding to numeric pr_number mentioned in command] 
Approving a Pull request via command line is even simple
- 
bitbucket pr -A pr_num [Approves the PR corresponding to numeric pr_number mentioned in command] 
Declining a Pull request via command line is even simple
- 
bitbucket pr -D pr_num [Declines the PR corresponding to numeric pr_number mentioned in command]