nordicmaterial2
7/29/2015 - 10:01 AM

GIT

GIT

git status

sudo git add "file.txt"
sudo git add .

sudo git commit -m "message"

sudo git push
git branch
// in which branch am I?

sudo git branch redversion
// makes the new branch

sudo git checkout redversion
// go into  the new branch

// now make changes; add & commit

sudo git push --set-upstream origin redversion
//  copy branch to remote

sudo git checkout master
sudo git merge redversion
// merge the specified branch into the current branch