The GitPHP guide 🚀
Comprehensive open-source documentation: Self-hosting, Personal Access Tokens, Git & SSH, pull requests, and REST API.
📑
All
📦
📦 Installation
🚀
🚀 Remote Updates & Downloads
NEW
🔑
⭐️ Token Push
🚀
🚀 Quick Start
💻
💻 Git & SSH
🔀
🔀 Pull Requests
📁
📁 Features
⚡️
⚡️ REST API
🛡️
🛡️ Admin & Security
🔧
🔧 Troubleshooting
4 Pushing and Cloning over HTTP (Standard Password)
a) Push an existing local project
cd my-project
git init
git add .
git commit -m "Initial commit"
git branch -M main
git remote add origin https://git.ysnapp.com/aburasha/my-project.git
git push -u origin main
b) Clone and Pull
git clone https://git.ysnapp.com/aburasha/my-project.git
cd my-project
git pull origin main
💡 Authentication: when Git asks for credentials, use your account password or a Personal Access Token. Private repositories require collaborator access (read or write).
5 Pushing and Cloning over SSH
SSH keys allow passwordless, encrypted Git operations via port 22:
- Generate a new SSH key (Ed25519 recommended):
ssh-keygen -t ed25519 -C "[email protected]" - Copy your public key:
cat ~/.ssh/id_ed25519.pub - Add the key under Settings → SSH keys in your account.
- Test the server connection:
ssh -T [email protected] - Use the SSH clone URL:
git clone [email protected]:aburasha/my-project.git git push origin main
⚙️ For server-level SSH daemon setup and permissions, see:
docs/ssh-setup.md.