Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. First, save and hide temporarely all your changes:
- $ git stash
- 2. then, update your repository:
- $ git pull
- 3. after that, create a new local branch and change to it (all in one command)
- $ git checkout -b new_branch_name
- 4. recover all your changes:
- $ git stash pop
- 5. check if is all right:
- $ git diff
- 6. Add the new files and commit it (to add files instead of -a you can use git add modified/added/filename)
- $ git commit -a -m "my cool commit"
- 7. push your local branch to the remote server
- $ git push origin new_branch_name
- 8. Go to git.icanlocalize.com and create a merge request
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement