In this lab, you will see
.git
folder where you can back up your code.git
folder can be moved around. If you do move that folder around, Git clients will most likely think that files have changed, relative to where the folder is located in the directory treegit init
, while cd
'd into the folder in the terminalgit add -A
git commit -am "your message goes here"
.git
folder.git
folder theregit checkout some-branch-name
someproject
, then, you can simply add the remote GitHub repo as a "remote" by running git remote add origin https://github.com/someusername/someproject.git
, and then pushing it by running git push origin master
git clone https://github.com/someusername/someproject.git
, while cd
'ed into a folder of their choosing.cd
into someproject
git checkout -b my-feature-branch
git push origin my-feature-branch
(N.B. my-feature-branch
is entirely a fictitious branch and you are free to call it anything)git checkout origin/my-feature-branch
cd
into the build files and run git init
to initialize a new Git repogh-pages
branch, by running git checkout --orphan gh-pages
git add -A
and git commit -am
git remote add origin path-to-your-remote-repo
git push origin gh-pages
, and you should be ready to go.git
folder somewhere else.git
folder into the new dist foldernpm install -g git+ssh://git@github.com:shovon/generator-simple-react.git
npm install -g generator-material-ui