Skip to main content
deleted 8 characters in body
Source Link
Zamith
  • 23.4k
  • 2
  • 26
  • 16

You can make this happen with less typing. First, change the way your push works:

git config --[global|local]global push.default current 

This will infer the origin my_branch part, thus you can do:

git push -u 

Which will both create the remote branch with the same name and track it.

You can make this happen with less typing. First, change the way your push works:

git config --[global|local] push.default current 

This will infer the origin my_branch part, thus you can do:

git push -u 

Which will both create the remote branch with the same name and track it.

You can make this happen with less typing. First, change the way your push works:

git config --global push.default current 

This will infer the origin my_branch part, thus you can do:

git push -u 

Which will both create the remote branch with the same name and track it.

You can make this happen with less typing. First, change the way your push works:

git config --global[global|local] push.default current 

This will infer the origin my_branch part, thus you can do:

git push -u 

Which will both create the remote branch with the same name and track it.

You can make this happen with less typing. First, change the way your push works:

git config --global push.default current 

This will infer the origin my_branch part, thus you can do:

git push -u 

Which will both create the remote branch with the same name and track it.

You can make this happen with less typing. First, change the way your push works:

git config --[global|local] push.default current 

This will infer the origin my_branch part, thus you can do:

git push -u 

Which will both create the remote branch with the same name and track it.

Source Link
Zamith
  • 23.4k
  • 2
  • 26
  • 16

You can make this happen with less typing. First, change the way your push works:

git config --global push.default current 

This will infer the origin my_branch part, thus you can do:

git push -u 

Which will both create the remote branch with the same name and track it.