Git ile remote dan sizde olmayan brach i lokalinize çekmek

Git remote “sunucudakiBranch” diye bir branch var diyelim bu da sizin bir iş arkadaşınızın branch i ve sizde bunu lokalinizde editleyebilmek istiyorsunuz. Bu durumda branch e geçebilmek için remote branchi aşağıdaki şekilde lokalinize indirip bu branch e switch edebilirsiniz.

git checkout -b sunucudakiBranch origin/sunucudakiBranch

Tags:

Leave a Reply

XHTML: You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>