Commit, Push, and Pull
The Source Control panel is the day-to-day home for git in Vegha. From here you review changes, record commits, and sync with a remote — all without an external git binary.
The changes list
Section titled “The changes list”The Source Control panel shows a status list of every file that differs from the last commit: new, modified, and deleted .bru files. Selecting a file opens its diff, a line-by-line view of what changed.
Staging changes
Section titled “Staging changes”Staging selects which changes go into the next commit. You can stage:
- An individual file from the changes list
- All changes at once
Unstaged changes remain in your working copy and are simply left out of the next commit.
Viewing diffs
Section titled “Viewing diffs”Click any file in the changes list to see its diff. Because collections are plain text, a renamed header or an edited URL shows as a precise, readable change — easy to review before committing.
Writing a commit
Section titled “Writing a commit”Enter a commit message and commit the staged changes. A clear message — what changed and why — keeps the history of your API project useful to teammates.
| Action | Result |
|---|---|
| Stage | Marks changes for the next commit |
| Commit | Records staged changes to local history |
| Push | Uploads local commits to the remote |
| Fetch | Downloads remote commits without merging |
| Pull | Fetches and merges remote commits |
| Stash | Sets aside uncommitted changes for later |
Pushing
Section titled “Pushing”Push uploads your local commits to the configured remote. Vegha authenticates using your stored HTTPS PAT or SSH key.
Fetching and pulling
Section titled “Fetching and pulling”- Fetch downloads remote commits so you can review them, without changing your working copy.
- Pull fetches and then merges remote changes into your current branch.
Stashing
Section titled “Stashing”Stash sets aside uncommitted changes so your working copy is clean — useful before switching branches or pulling. Restore the stash later to bring the changes back.