/ Published in: Bash
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
# Create the remote branch
git push origin origin:refs/heads/some_branch
# Make sure everything is up-to-date
git fetch origin
# Then you can see that the branch is created.
git branch -r
# This should show ‘origin/new_feature_name’
# Start tracking the new branch
git checkout --track -b new_feature_name origin/some_branch
# This means that when you do pulls that it will get the latest from that branch as well.
# Make sure everything is up-to-date
git pull
Comments
 Subscribe to comments
                    Subscribe to comments
                
                