Git Operations
Perform common git operations on your IDE's repository from your mobile device.
Overview
Git Operations let you manage version control remotely. Check status, pull changes, commit work, and push to remote—all without returning to your desk.
Prerequisites
Before using Git Operations:
- Your mobile device must be paired with your IDE
- Connections must be enabled in your IDE (status: "Open")
- Your mobile app must be connected
- Your IDE project must have a git repository initialized
Accessing Git Operations
- Connect to your IDE from the mobile app
- From the IDE dashboard, tap Git
- Choose from available git operations
Available Operations
Status
View the current state of your working tree:
- Modified files
- Staged changes
- Untracked files
Pull
Fetch and merge changes from the remote repository:
- Downloads latest commits
- Merges into current branch
- Shows any conflicts if they occur
Commit
Create a commit with your staged changes:
- Tap Commit
- Enter a commit message in the dialog
- Tap Commit to create the commit
Push
Push your local commits to the remote repository:
- Uploads commits to remote
- Shows push success or failure
- Reports any push rejection reasons
Fetch
Download objects and refs from the remote without merging:
- Updates remote tracking branches
- Does not modify your working directory
- Useful for seeing what's new before merging
Log
View the commit history:
- Shows recent commits
- Displays commit messages
- Shows commit authors and dates
Output Screen
After executing any git operation, you're taken to the output screen showing:
- Command output from git
- Success or error messages
- Detailed information about what changed
Loading States
During execution:
- An overlay shows "Executing [operation]..."
- Operation cards are disabled
- You can wait or navigate back
Error Handling
If an operation fails:
- A snackbar shows the error message
- Tap "Dismiss" to clear the error
- Check the output screen for details
Tips
- Check Status before committing to see what will be included
- Use Fetch then Pull to preview changes before merging
- Write meaningful commit messages—you'll thank yourself later
Troubleshooting
Operation fails silently:
- Check connection status
- View the output screen for detailed error messages
- Ensure git is properly configured in your IDE
Push rejected:
- Pull latest changes first
- Resolve any conflicts in your IDE
- Try pushing again
Commit appears empty:
- Stage your changes in the IDE first
- JetWings commits staged changes only