Push a local branch into a remote branch under a directory

tnnnguyen April 20, 2017

Hi all,

I have a repo with the following branches:

origin - develop

origin - master

origin - feature/issue_100

origin - feature/issue_200

...

origin - hotfix/abc

origin - hotfix/efg

...

 

I checked out from master and have some commits to push. I'd like to push this local branch back into origin/feature/issue_300.

How do I do that in SourceTree? How about git command?

Thanks so much

 

1 answer

0 votes
Gab Bautista April 21, 2017

Change your remote-url where you are pushing:

https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events