Set upstream for mine