-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (34 loc) · 1.74 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>week5</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<h1>week5 git and github</h1>
<p>
Week 5: git and GitHub This week, you'll practise with git flow. Follow
these steps to connect a local repository to a remote one on GitHub.
Before following these steps, you'll need to install git:
https://git-scm.com/book/en/v2/Getting-Started-Installing-Git 1️⃣ Create a
folder on your computer and add files for HTML, CSS and JavaScript. 📚 2️⃣
Add some content to the HTML, link the CSS and add a script tag which
points to your JS. 3️⃣ Open up your terminal and navigate to the folder
where you've saved your files. Initialise this folder as a git repository.
🐙 4️⃣ Stage and commit your changes. 5️⃣ Create a remote repository on
GitHub. The easiest way to set this up is without a README since GitHub
will then give you instructions to connect with your local repository. ☁️
💻 6️⃣ Connect your local and remote repositories. Push your changes from
your local machine to the remote. 🔗 7️⃣ Deploy your site to GitHub Pages.
⚡ Once you have a local and remote repository connected, you'll be able
to keep both in sync by regularly staging, committing and pushing your
changes to GitHub. Getting into the habit of doing this regularly will
help you make sure your codebase is backed up and version-controlled. 🌱
🌟
</p>
<script src="script.js"></script>
</body>
</html>