Skip to content

Instantly share code, notes, and snippets.

View AndroPlus's full-sized avatar
🏠
Working from home

Ramesh Dhananjeyan AndroPlus

🏠
Working from home
View GitHub Profile
@AndroPlus
AndroPlus / gitcommands.txt
Created May 23, 2018 08:19
Git clone into an existing directory
Git clone into an existing directory
Here am explaining how to clone a remote git repo to an existing folder (assume this folder has some untracked files).
Go to the existing folder in terminal
Run $git init
Run $git remote add origin <your git repo url>
Run $git fetch
Run $git checkout -t origin/master (This works better for an empty directory, wont suit for a non-empty directory)
Run $git reset origin/master if you have some files in your local existing directory.
View the current repo status $git status
@AndroPlus
AndroPlus / privacypolicy.html
Created February 13, 2017 08:38
Privacy Policy
<html>
<body>
<h2>Privacy Policy</h2>
<p>[Individual or Company Name] built the [App Name] app as a [open source | free | freemium | ad-supported | commercial] app. This SERVICE is provided by [Individual or company name] [at no cost] and is intended
for use as is.</p>
<p>This page is used to inform website visitors regarding [my|our] policies with the collection, use, and
disclosure of Personal Information if anyone decided to use [my|our] Service.</p>
<p>If you choose to use [my|our] Service, then you agree to the collection and use of information in
relation with this policy. The Personal Information that [I|we] collect are used for providing and
improving the Service. [I|We] will not use or share your information with anyone except as described