guys, to do the git stuff, follow this instructions.
position: * new_branch * git status git add . git commit -m 'ready to merge' git checkout master position: * master branch * git pull origin master #this will pull the newest code from github HAVE TO DO THIS OKAY!! git checkout new_branch position: * new_branch * git merge master #if there's conflicts, please solve. I repeat, SOLVE THE DAMN CONFLICTS. git push origin new_branch #after that, you merge in github, or you tell me and I'll merge for you. #after I merge git checkout master git pull origin master #and then keep coding, but ALWAYS CREATE A NEW BRANCH #how to create a new branch? git branch -b brand_new_branch #after you finish you do all the steps again
#but if for whatever reason, you don't want the branch because it sucks #follow these steps position: * brand_new_branch * git status git add . git commit -m 'this branch sucks' git checkout master git branch -D brand_new_branch
I hope this instructions help. SPORTIFY IS AWESOME. <3
on ur branch git add . git commit
git checkout master git pull origin master
git checkout branchname git merge master solve conflicts if any git add . git commit -m "xxx" git push origin branchname
go to github.com create pull request merge pull request with master
git checkout master git pull origin master git checkout -b "another_branch"