If I have multiple revision to push to the origin repository, can I pick which ones to push ?
In the Push dialog, there are checkboxes on the left side for each branch. The ones you select will be pushed. (All commits in those branches.)
Ok, but can I choose which commits to push from a certain branch, or do I have to push all commits ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, but can I choose which commits to push from a certain branch, or do I have to push all commits ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You cannot choose which commits get pushed from a branch, all commits are pushed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's generally true. If for some reason you wanted to push a subset of the commits on a given branch, as long as the commits that you wanted to exclude were at the end of the branch, you could probably do something like: checkout the last commit you want to push create a branch at that commit push your new branch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.