Skip to content

Instantly share code, notes, and snippets.

View SuperSarkar's full-sized avatar

Kunal Sarkar SuperSarkar

  • Self-employed
  • India
View GitHub Profile
  1. Create a Bare Repo on Server
ssh kunal@domain.com
mkdir website.git
cd website.git
git init --bare
  1. Create a Hook to copy files from the bare git directory to the nginx/apache website directory
body, html {
height: 100%;
}
body{
margin: 0;
}
.full-bg {
width: 100%;
height: 100%;
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Avengers - Infinity War</title>
<link rel="stylesheet" type="text/css" href="css/styles.css">
<link href="https://fonts.googleapis.com/css?family=Audiowide" rel="stylesheet">
</head>
<body>
<div class="full-bg">
body, html {
height: 100%;
}
body{
margin: 0;
}
.full-bg {
width: 100%;
height: 100%;
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Avengers - Infinity War</title>
<link rel="stylesheet" type="text/css" href="css/styles.css">
<link href="https://fonts.googleapis.com/css?family=Audiowide" rel="stylesheet">
</head>
<body>
<div class="full-bg">
body, html {
height: 100%;
}
body{
margin: 0;
}
.full-bg {
width: 100%;
height: 100%;
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Avengers - Infinity War</title>
<link rel="stylesheet" type="text/css" href="css/styles.css">
<link href="https://fonts.googleapis.com/css?family=Audiowide" rel="stylesheet">
</head>
<body>
<div class="full-bg">
body, html {
height: 100%;
}
body{
margin: 0;
}
.full-bg {
width: 100%;
height: 100%;
body, html {
height: 100%;
}
body{
margin: 0;
}
.full-bg {
width: 100%;
height: 100%;
body, html {
height: 100%;
}
body{
margin: 0;
}
.full-bg {
width: 100%;
height: 100%;