Skip to content

Instantly share code, notes, and snippets.

@erycamel
Created September 9, 2017 12:08
Show Gist options
  • Save erycamel/5126952380e89f3f9c44aab98cf26f5e to your computer and use it in GitHub Desktop.
Save erycamel/5126952380e89f3f9c44aab98cf26f5e to your computer and use it in GitHub Desktop.
Create GITHUB
-------------
echo "Application MEAN" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/erycamel/mean4.git
git push -u origin master
Create New Branch ==> "server-setup"
-----------------
git checkout -b server-setup
git status
git branch
update branch
-------------
git add .
git commit -m "server-setup"
git push --all origin
update branch to master
-----------------------
git checkout master
git merge server-setup
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment