git lb
31 minutes ago: fun-branch
2 days ago: remove-things
3 days ago: staging
6 days ago: remove-bugs
Courtesy of https://ses4j.github.io/2020/04/01/git-alias-recent-branches/
import os | |
import sys | |
import traceback | |
from functools import wraps | |
from multiprocessing import Process, Queue | |
def processify(func): | |
'''Decorator to run a function as a process. | |
Be sure that every argument and the return value |
git lb
31 minutes ago: fun-branch
2 days ago: remove-things
3 days ago: staging
6 days ago: remove-bugs
Courtesy of https://ses4j.github.io/2020/04/01/git-alias-recent-branches/
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: