Is it possible to push to remote branch directly ?
This is scenario:
There is branch on github repo lets call it X, I cloned project to my local repo, when i type:
git checkout origin/x
I get text in terminal saying: "You are in 'detached HEAD' state ... If you want to create a new branch to retain commits you create ... git checkout -b new_branch_name".
So i create new branch, do my job, make commit and push it to remote github repo with folowing command:
git push -u origin name_of_my_branch
That comand created branch on github repo, so now i am able to make pull request to that online branch, so again i am wondering is it possible to sync this branch directly with remote branch(x) and push to that branch(x) directly, without pull requests ?