$ mdkir test
$ cd test
$ touch README.md
- Edit that README.md file, putting the name of the repo at the top
$ code .
# test
$ git init
$ git add README.md
$ git commit -m "added README"
$ git status
- Go to GitHub and make repo
- Same name as the dir you made
- Copy the
git remote add...
bit $ git push origin master
$ git branch ll-setup
$ git checkout ll-setup
$ touch index.html main.css main.js
- In
index.html
use typehtml
and use thehtml:5
snippit to generate your html boilerplate - Link main.css (type
link
in the head of your index.html and use the link:css snippit) - Link main.js (type
script
in the body of your index.html and use the script:src snippit) - h1 tag in index.html
- Change background color
console.log('something')
$ git add index.html main.css main.js
$ git commit -m "base files created"
(use your own message!)$ git push origin ll-boilerplate
<- use the branchname you're currently on/you created in step 12- Go to GitHub, make a PR
- Verify code && merge!
$ git checkout master
$ git pull origin master
Last active
April 15, 2020 00:23
-
-
Save luketlancaster/296df5e31003eadddb6b88f303168425 to your computer and use it in GitHub Desktop.
Git Flow!!!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
remember that if a line starts with a
$
it's a terminal command! That's there to let you know to use that command in the terminal, but don't use the$
!