Skip to content

Commit

Permalink
cheat-sheet.html
Browse files Browse the repository at this point in the history
  • Loading branch information
utsab committed Aug 10, 2015
1 parent f74acc9 commit d0b3347
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 0 deletions.
55 changes: 55 additions & 0 deletions blog/cheat-sheet.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Cheat Sheet</title>

<link rel="stylesheet" type="text/css" href="../styles/cheat-sheet.css">

</head>

<body>

<section id="canvas">

<header>

<section id="cheatSheetTitle">
Git Sheet Sheet
</section>

<div class="divider"></div>
</header>


<main>
<div id="left-side">
<div>
Hurrah
</div>
</div>

<div id="right-side">
<div class="git-section">
<div class="section-title">
Committing/pushing work
</div>
<div class="syntax">
<code>
git diff -du <br>
git add <filename><br>
git status #check to see everything looks good<br>
git commit -m "message"<br>
git push origin <branch_name><br>
</code>
</div>
</div>
</div>
</main>

</section>

</body>

</html>

3 changes: 3 additions & 0 deletions blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
<li>
<a href="http://utsab.github.io/blog/c7-values.html">Values</a>
</li>
<li>
<a href="http://utsab.github.io/blog/cheat-sheet.html">Cheat Sheet</a>
</li>
</ul>
</div>

Expand Down
31 changes: 31 additions & 0 deletions styles/cheat-sheet.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

header {
text-align:center;
padding: 40px;
}

#canvas {
max-width:900px;
margin: 0px auto;
}

.divider {
padding-top: 10px;
border-bottom: 1px solid #dddddd;
}

#cheatSheetTitle {
font-size: 24px;
}

#left-side {
float: left;
width: 49%;
}

#right-side {
float: right;
width: 49%;
}


0 comments on commit d0b3347

Please sign in to comment.