Did you know that you can navigate the posts by swiping left and right?

Setting up a local git repo

05 Feb 2017 . category: devops . Comments
#git

Fork repo to your github repo

git clone <local repo>
cd <cloned repo>


Add upsteam repo to pull updates from

git remote add upstream <original repo>


Pull down attached branches

git remote update -p


Create a new branch to work in.

Usually you will name this after a feature you are working on.

git checkout -b <new branch>


Commit your changes to your github repo

git add .
git commit -m ‘<message>'
git push origin < your branch>


Then you can login to github and create a pull request to the original repo

  • Create a PR from fork/branch to original repo/master

Me

Jeremy Miller is an awesome person. He lives in the Midwest, where he works in Linux Administration. In his spare time, Jeremy likes to develop.