https://github.com/rtomaszewski/api-challenge/commit/7872d14cc22e96b3b9f2049ae0d76a7697af22c6
Problem
The changes made on the challenge5 branch are not visible in master repository. How to copy the changes from challenge5 to master branch.
Solution
To copy the changes from one branch to another you can use github merging feature.
PS > git status .\challenge5.py # On branch master nothing to commit (working directory clean) PS > git branch challenge2 challenge3 challenge4 challenge5 * master PS> git merge challenge5 Updating d609784..7872d14 Fast-forward challenge5.py | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) PS > git status .\challenge5.py # On branch master # Your branch is ahead of 'origin/master' by 1 commit. # nothing to commit (working directory clean) PS > git push Total 0 (delta 0), reused 0 (delta 0) To git@github.com:rtomaszewski/api-challenge d609784..7872d14 master -> master
References
No comments:
Post a Comment