Simple GitHub Push Tool for Students & Developers
Project description
ProjectLaunch
Simple GitHub Push Tool for Students & Developers
Push your projects to GitHub with a single command. No complex git commands needed!
What Does It Do?
ProjectLaunch simplifies pushing your code to GitHub:
- Automatically initializes git repository
- Adds all your files
- Creates a commit with your message
- Pushes to your GitHub repository
- All in one command
Installation
pip install projectlaunch
Requirements:
- Python 3.8 or higher
- Git installed on your system (Download Git)
Quick Start
Basic Usage (Interactive)
Navigate to your project folder and run:
pl push
The tool will ask you:
- GitHub repository URL - Example:
https://github.com/username/my-project - Commit message - Example:
Initial commitorAdded new features
That's it! Your code is now on GitHub!
Usage Examples
Example 1: Interactive Mode (Recommended for Beginners)
cd my-project
pl push
Output:
ProjectLaunch - GitHub Push Tool
Enter your GitHub repository URL:
Repository URL: https://github.com/username/my-project
Enter commit message:
Commit message [Initial commit]: Added homepage
Pushing to GitHub...
Initializing git...
Adding files...
Committing: Added homepage
Setting remote...
Pushing...
Successfully pushed!
Repository: https://github.com/username/my-project
Example 2: With Command-Line Options (Faster)
pl push --repo https://github.com/username/my-project --message "Initial commit"
Short version:
pl push -r https://github.com/username/my-project -m "Initial commit"
Example 3: Push from Different Directory
pl push --path /path/to/your/project --repo https://github.com/username/repo
Command Reference
Main Command
pl push [OPTIONS]
Options
| Option | Short | Description | Example |
|---|---|---|---|
--repo |
-r |
GitHub repository URL | --repo https://github.com/user/repo |
--message |
-m |
Commit message | --message "Fixed bugs" |
--path |
-p |
Project directory path | --path ./my-project |
--help |
-h |
Show help message | --help |
Other Commands
pl --version # Show version
pl --help # Show all commands
projectlaunch push # Full command name (same as 'pl push')
Step-by-Step Tutorial
First Time Setup
Step 1: Create a GitHub Repository
- Go to GitHub
- Click the + icon → New repository
- Enter repository name (e.g.,
my-awesome-project) - Click Create repository
- Copy the repository URL (e.g.,
https://github.com/username/my-awesome-project)
Step 2: Install ProjectLaunch
pip install projectlaunch
Step 3: Navigate to Your Project
cd path/to/your/project
Step 4: Push to GitHub
pl push
Enter the repository URL you copied in Step 1, and you're done!
Common Scenarios
Scenario 1: First Time Pushing a New Project
cd my-new-project
pl push
# Enter: https://github.com/username/my-new-project
# Enter: Initial commit
Scenario 2: Updating an Existing Project
cd my-existing-project
pl push -r https://github.com/username/my-existing-project -m "Updated features"
Scenario 3: Quick Push with Default Message
pl push -r https://github.com/username/repo
# Uses default message: "Update"
FAQ
Q: Do I need to create a GitHub repository first?
A: Yes! Create an empty repository on GitHub first, then use ProjectLaunch to push your code.
Q: What if I already have a git repository?
A: No problem! ProjectLaunch will detect it and just push your changes.
Q: Can I use this for private repositories?
A: Yes! Just make sure you're logged into GitHub on your system.
Q: What if the push fails?
A: ProjectLaunch will automatically try force push. Make sure:
- Git is installed
- You have internet connection
- The repository URL is correct
- You have permission to push to the repository
Q: Does it work on Windows/Mac/Linux?
A: Yes! Works on all platforms where Python and Git are installed.
Troubleshooting
Error: "Git not installed"
Solution: Install Git from git-scm.com
Error: "Permission denied"
Solution: Make sure you're logged into GitHub:
git config --global user.name "Your Name"
git config --global user.email "your@email.com"
Error: "Repository not found"
Solution:
- Check the repository URL is correct
- Make sure the repository exists on GitHub
- Verify you have access to the repository
Real-World Examples
Example 1: Student Project
# You just finished your college project
cd final-year-project
pl push -r https://github.com/student123/final-year-project -m "Completed project"
Example 2: Quick Prototype
# You built a quick prototype and want to share it
cd prototype-app
pl push
# Enter repo URL and message when prompted
Example 3: Daily Updates
# End of day, pushing your work
cd work-project
pl push -r https://github.com/company/work-project -m "Day 5: Implemented login feature"
Tips & Best Practices
-
Use descriptive commit messages
- Bad:
"update" - Good:
"Added user authentication feature"
- Bad:
-
Push regularly
- Don't wait until the end of the project
- Push after completing each feature
-
Check your files
- Make sure you're not pushing sensitive data (passwords, API keys)
- Use
.gitignoreto exclude unnecessary files
-
Create a .gitignore file
# Common files to ignore __pycache__/ *.pyc .env node_modules/ .DS_Store
Need Help?
- GitHub: madhan112007/test-project_launch
- Issues: Report bugs
- Email: codethetrend@gmail.com
- PyPI: projectlaunch
License
MIT License - Free to use for everyone!
Credits
Built for students and developers who want a simpler way to push code to GitHub.
Made with care by Madhan
Quick Reference Card
# Install
pip install projectlaunch
# Basic usage
pl push
# With options
pl push -r https://github.com/user/repo -m "Commit message"
# Get help
pl --help
# Check version
pl --version
Happy Coding!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file projectlaunch-1.0.3.tar.gz.
File metadata
- Download URL: projectlaunch-1.0.3.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ceadfd43e952628c696f81e607d1c5ad4f9f034ece8931a1cf27d899df277bd2
|
|
| MD5 |
967de9ed0696c33bc35868c244139dae
|
|
| BLAKE2b-256 |
bcb6c942c794bc9a76cef8d05d17df88992fbbefc9b042aac6203d8bf606c893
|
File details
Details for the file projectlaunch-1.0.3-py3-none-any.whl.
File metadata
- Download URL: projectlaunch-1.0.3-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4ac6ed86a04fd1e238a7a3f9f6040f4e37a289c9358fb0e70954ca7a0c28762
|
|
| MD5 |
3ee351cf6612c736f0c4de14c38a17fa
|
|
| BLAKE2b-256 |
b646ff2f6ec48c798b0380bc1c38529419815a620001a0f098efe4777f7c4cf9
|