I am using Eclipse with Git. I have a local repo, and I want to push that to my private github repo (for safekeeping). I am working alone, so there are no commits from others.
Should I check "Configure upstream for push and pull" in the push dialog?
And if yes, should I check "Merge..." or "rebase"?
Create a new branch with the branch, switch or checkout commands. Perform a git push with the –set-upstream option to set the remote repo for the new branch. Continue to perform Git commits locally on the new branch. Simply use a git push origin command on subsequent pushes of the new branch to the remote repo.
You can only push to upstream at the project/repo level. You can't push an individual file, like you can in CVS. To Push to Upstream, select the project/repo, select Team -> Push to Upstream.
You don't need to check this option necessarily. You can go to Git Repositories view, right click in your githup repo and do push or pull. Because you are working alone in almost all cases git is going to do fast-foward merge and you don't need to do anything.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With