Qwaxi-Lixard / yes-porn-allowed

A list of sites and services that allow porn. Included the degree of support.
Creative Commons Zero v1.0 Universal
75 stars 2 forks source link

Add Detials About Git #13

Open Qwaxi-Lixard opened 2 years ago

Qwaxi-Lixard commented 2 years ago
Create a repository

cd /home/protected/

mkdir repos && cd repos

Replace 'repos' with whatever you want to name your repository.

git init --bare

you should see:

Initialized empty Git repository in /home/protected/repos/.git/
Clone a repository

git clone username_sitename@ssh.phx.nearlyfreespeech.net:/home/protected/repos/
Add files to commit queue

git add file
Commit added files queue to local repository

git commit -m "commit message"
Push updates to original repository

git push
Pull updates from original repository

git pull