Learned what -u is for in git push

by stink on Feb 10, 2025 to git comments(0)
My tooling knowledge is not great. I always push like this (every single time):

git push -u origin branch

I must have issued that command thousands of times.

What I learned is once you use -u like that, then you can use this shortcut instead:

git push
no comments yet