एडिटर छोड़े बिना Git में महारत हासिल करें। Pocket Code में पूर्ण Git एकीकरण के साथ कमिट, ब्रांच, मर्ज, स्टैश और भी बहुत कुछ।
आधुनिक विकास में Git मौलिक है। Pocket Code, Git को मूल रूप से एकीकृत करता है ताकि आप टर्मिनल की आवश्यकता के बिना अपने कोड को प्रबंधित कर सकें।
Git साइड पैनल वास्तविक समय में दिखाता है:
किसी भी संशोधित फ़ाइल पर टैप करें ताकि अंतर साथ-साथ देख सकें:
# From the visual interface:
# 1. Select files in the changes panel
# 2. Write the commit message
# 3. Tap "Commit"
# Or from the integrated terminal:
git add .
git commit -m "feat: add authentication system"
आसानी से ब्रांच बनाएँ और स्विच करें:
# Create new branch
git checkout -b feature/new-feature
# List branches
git branch -a
# Switch branch
git checkout main
# Delete branch
git branch -d feature/completed
Pocket Code विज़ुअल कॉन्फ्लिक्ट समाधान प्रदान करता है:
main ─────────────────────── production
└── develop ─────────────── development
├── feature/login ──── feature
├── feature/api ────── feature
└── hotfix/bug-123 ── urgent fix
main ─────────────────────── single main branch
├── short-lived-branch ──── short-lived (< 1 day)
└── feature-flag ────────── hidden feature
बिना कमिट किए परिवर्तनों को अस्थायी रूप से सहेजें:
# Save changes
git stash save "work in progress"
# List stashes
git stash list
# Recover last stash
git stash pop
# Apply specific stash
git stash apply stash@{2}
स्पष्ट संदेशों के लिए Conventional Commits का पालन करें:
feat: add OAuth2 authentication
fix: correct email validation error
docs: update README with setup instructions
style: format code with Prettier
refactor: simplify price calculation logic
test: add tests for payment module
chore: update dependencies
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --global core.editor "pocket-code"
Pocket Code, GitHub, GitLab और Bitbucket के साथ पासवर्ड रहित प्रमाणीकरण के लिए SSH कुंजियाँ जनरेट और प्रबंधित कर सकता है।
एकीकृत Git के साथ, Pocket Code आपको अपने कोड पर पूर्ण नियंत्रण देता है। IDE छोड़े बिना कमिट करें, ब्रांच प्रबंधित करें और अपनी टीम के साथ सहयोग करें।
ऐप डाउनलोड करें और अपने फ़ोन से कोडिंग शुरू करें।