Changes between Version 10 and Version 11 of MergerTips
- Timestamp:
- Apr 6, 2018, 11:03:59 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MergerTips
v10 v11 2 2 3 3 Versions of several of the scripts given below can be found in https://github.com/shaib/django-developer-tools. 4 5 == Pushing to a pull request branch == 6 7 Add to `.bashrc`: 8 {{{ 9 #!/bin/bash 10 function prp(){ 11 url=`git config --get remote.origin.url` 12 url=`echo $url | sed -e "s/:.*\//:$1\//g"` 13 git push -f $url HEAD:$2 14 } 15 }}} 16 Usage: 17 `$ prp username branch_name` 18 19 `username` is pull request author's username, and `branch_name` is the branch name which is visible on the pull request page. 4 20 5 21 == Automating Backports ==