It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
I pushed a change on a branch (named 'stitching') that I alone am working on:
$ git push origin stitching Counting objects: 6, done. Delta compression using up to 4 threads. Compressing objects: 100% (6/6), done. Writing objects: 100% (6/6), 787 bytes | 0 bytes/s, done. Total 6 (delta 4), reused 0 (delta 0) remote: remote: Create pull request for stitching: remote: https://bitbucket.org/vokecoredev/fae/pull-requests/new?source=stitching&t=1 remote: To bitbucket.org:vokecoredev/fae.git 9099d1f2..0b182a5c stitching -> stitching
(Aside: I am not sure why it said it is creating a "pull request" since I am not pushing to a branch anyone else is managing, but I can see the update on bitbucket. FWIW, I marked it as approved.)
On another machine I do a git pull on the same branch and I my changes are not there -- why not?
git pull origin stitching
Where are my changes
Hi Wayne, that command alone will not really work as you expect. You'll need to checkout to the branch you want first, and the push:
git checkout <myBranch>
git push origin <myBranch>
With your initial command, what happened is that you pushed your branch into master. I've checked the repository and I could see it belongs to a team where other users are making contributions too, that's why the PR was created.
The above also answers why the git pull in the other machine didn't have your changes, since the changes are in master now.
Hope this helps you!
Best regards,
Ana
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreSupported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.