Skip to main content
Fixed typos. Removed misleading asterisks from code. Removed unnecessary bold formatting.
Source Link

In very short

git branch --set-upstream **yourLoacalBranchName**yourLocalBranchName origin/**develop**develop 

This will make your yourLoacalBranchNameyourLocalBranchName track the remote branch called developdevelop.

In very short

git branch --set-upstream **yourLoacalBranchName** origin/**develop** 

This will make your yourLoacalBranchName track the remote branch called develop

In very short

git branch --set-upstream yourLocalBranchName origin/develop 

This will make your yourLocalBranchName track the remote branch called develop.

added 4 characters in body
Source Link
kapa
  • 78.9k
  • 21
  • 166
  • 178

In very short

git branch --set-upstream yourLoacalBranchName origin/develop

git branch --set-upstream **yourLoacalBranchName** origin/**develop** 

This will make your yourLoacalBranchName track the remote branch called develop

In very short

git branch --set-upstream yourLoacalBranchName origin/develop

This will make your yourLoacalBranchName track the remote branch called develop

In very short

git branch --set-upstream **yourLoacalBranchName** origin/**develop** 

This will make your yourLoacalBranchName track the remote branch called develop

Source Link
MadNik
  • 7.8k
  • 2
  • 39
  • 39

In very short

git branch --set-upstream yourLoacalBranchName origin/develop

This will make your yourLoacalBranchName track the remote branch called develop