Content pfp
Content
@
0 reply
0 recast
2 reactions

Complexlity pfp
Complexlity
@complexlity
git push --set-upstream origin $(git symbolic-ref --short HEAD)
1 reply
0 recast
0 reaction

koisose.lol pfp
koisose.lol
@koisose
what does this do
1 reply
0 recast
0 reaction

Complexlity pfp
Complexlity
@complexlity
What you create a new branch, if you try to push to origin, you'll need to use `git push --set-upstream origin ${branchName}` So I used this to create an alias `gpu` that pushes the current branch to origin. I don't need to type the branch name. `git symbolic-ref....` inserts the branch name there automatically. Now, I could just type `gpu` in terminal for every new branch I want to push
1 reply
0 recast
0 reaction

koisose.lol pfp
koisose.lol
@koisose
ah cool
0 reply
0 recast
1 reaction