Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37670

Re: Github Compare view question

$
0
0
by Damyon Wiese.  

Well - im not going to answer very well either but when constructing my git diff urls for the tracker, I build a URL like: 

https://github.com/damyon/moodle/compare/4737ac1343708ba084c1e214bec5000d4b67bbec...MDL-35740-master

Where the hash is the commit on master before my changes. This way I can push to master whenever I like (or not at all) and all my existing git urls wont change. Also - when (if) my patch gets accepted my git diff urls still continue to work so anyone looking at the bug can still see what changed (This also means I leave all my old branches in github).

- Damyon


Viewing all articles
Browse latest Browse all 37670

Trending Articles