can i map internal branches remote branches opposite prefixes git?
we're operative semi-centralized git repository here where i work. any developer possess subtree executive git repository, looks something this:
master
alice/branch1
alice/branch2
bob/branch1
michael/feature
release/1.0
release/1.1
working locally tree i have topic/feature, corresponds michael/feature executive tree.
i've using
git pull start topic/feature:michael/feature
to pull changes remote tree. however, unwieldy likely mistakes (e.g. rejecting developer name, misspelling underline name, etc.).
i'm looking cleaner proceed this. instance, "git push". i think sourroundings opposite remote run-down fetch refspec it, nonetheless i'm certain accurately it. i'm also certain cgange tide bend definitions opposite remote.
my tide .git/config looks something like:
[remote "origin"]
url = git://central/git/project
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "topic/feature"]
remote = origin
combine = refs/heads/michael/project
edit: i'd also ask pulls/fetches. nonetheless does branch.<name>.merge take caring that?
i'll continue investigate post here i something, nonetheless i'm anticipating good ideas.
edit 2: i've solid i'll keep internal remote bend names same. appears slightest work slightest likely destiny problems.
Comments
Post a Comment