ProjectGit
Git
Introduction
Section titled “Introduction”What is the Git screen?
Section titled “What is the Git screen?”The Git screen (reached at the /git route, labelled Git Integration at the top of the page) is a complete, visual Git client built directly into Testver. It reads the Git repository that contains your test project and lets you do everyday version-control work — see what you have changed, choose which changes to record, write a commit, switch branches, and exchange commits with a remote server — all through buttons, panels, and dialogs instead of typed git commands.
Think of it as the dashboard of a car. Underneath, the engine is the same git program that developers run in a terminal. The Git screen is the dashboard on top of that engine: gauges that show your current branch and how far ahead or behind the remote you are, and clearly labelled controls — Fetch, Pull, Push, Stash, Commit — that operate the engine safely. You never have to remember the exact incantation; you read the gauge and press the button.
Everything on this screen requires that your project lives inside a Git repository — the project folder can be the repository itself, or a folder inside a bigger one (a monorepo). If git can’t be used, the screen shows a single message — Git Not Available — that says why: the project isn’t in a repository, git isn’t installed, or git refuses a repository owned by another user account. Until that is fixed, none of the panels described in this guide appear.
Who this guide is for
Section titled “Who this guide is for”This guide is written for Testver users who build and maintain automated tests and want a record of how those tests change over time. You do not need to be a Git expert. If you have never used version control at all, read the glossary in section 1.3 first — it explains every term in plain language before you meet it on screen.
- New to version control — you want to save snapshots of your tests and undo mistakes. Read sections 1, 2, 3, and 4; that is enough to commit your work.
- Comfortable with the basics — you already commit and want to collaborate. Add sections 5 (branches and remotes), 6 (new commits on the remote) and 7 (history and conflicts).
- Returning to a shared project — someone else has pushed changes. You will spend most of your time in the operations toolbar (Fetch / Pull / Push) and the conflict resolver.
Key terms
Section titled “Key terms”These are the words you will see across the Git screen. Keep this table handy until they feel natural.
| Term | Plain-language meaning |
|---|---|
| commit | A saved snapshot of your project at one moment, with a short message describing what changed. Like saving a named version of a document — you can always return to it. |
| branch | A separate line of work. You can experiment on one branch without disturbing the main one, then combine them later. The current branch is shown in the Branch gauge. |
| stage | Choosing which changes go into the next commit. Staging is like putting selected papers into an envelope before you seal (commit) it — changes you do not stage are left out. |
| working tree | The actual files on your disk right now, including edits you have not committed yet. The ‘uncommitted changes’ the screen lists are differences between the working tree and the last commit. |
| diff | A side-by-side or line-by-line comparison showing exactly which lines were added (green, +) or removed (red, -) in a file. |
| fetch | Download the latest commits from the remote server into your local copy without changing your files. A safe ‘what’s new?’ check. |
| pull | Fetch and then merge the remote’s new commits into your current branch, updating your files. Used to catch up with teammates. |
| push | Send your local commits up to the remote server so others can see them. The opposite direction of pull. |
| merge | Combine the changes from two branches (or from the remote and your local branch) into one. Usually automatic; occasionally needs your help (a conflict). |
| remote | The shared copy of the repository on a server such as GitHub or GitLab. ‘origin’ is the conventional name for the default remote. |
| conflict | When the same lines were changed in two different places (your branch and the remote), Git cannot decide which to keep and asks you to choose. Resolved in the conflict editor. |
| stash | A temporary shelf for uncommitted changes. Stash to clean your working tree without committing, then pop the stash to bring the changes back later. |
| amend | Replace the most recent commit instead of adding a new one — used to fix a typo in the message or add a forgotten file. |
| rebase | Replay your commits one by one on top of newer ones (for example a pull with rebase), instead of joining the two with a merge commit. It can stop on a conflict for each commit; you resolve it and press Continue. |
| ours / theirs | Git’s names for the two sides of a conflict: usually ours = your branch, theirs = the change coming in. In a rebase, and when a stash is put back, theirs is your own work. The resolver names each side and marks yours. |
How it works
Section titled “How it works”The Git screen runs as a thin layer over the same Git that a developer would use in a terminal. When you press a button, Testver runs the matching Git operation on the server where your project lives and shows you the result.
- Live status — the Repository Status card reads
git status. It, Recent Commits, the branch list and the stash list refresh after each action on this screen, when you come back to the browser tab, and every 30 seconds; a file saved in the project also clears Testver’s cached copy. Changes made elsewhere — in an editor, the AI Assistant, or a terminal — therefore show up within about half a minute. The Refresh button at the top re-reads everything at once. - Read-only by default — opening the screen only reads your repository. Nothing is changed until you click an action such as Stage, Commit, Pull, or Push.
- Guided next steps — a Next step banner always names the one thing to do now, explains it in a sentence, and usually has a button that does it: resolve conflicts, commit the merge, Continue a rebase, finish or Back out a stash that came back with conflicts, Drop the stash once it is done, create a branch on a detached HEAD, make the first commit, choose what to stage, commit what is staged, Publish a new branch, Pull first, or Push. When there is nothing to do it says All caught up (green). It is dismissible per situation and returns when the situation changes. See Next step guidance.
- Guide — the Guide button at the top opens Git actions explained: every button on the page with a one-line explanation, grouped as recording work, sharing and updating, branches, stash and conflicts. Hovering a button also says what it does.
- Testver’s own files stay out — the project’s
.testverfolder (Testver’s settings, results and caches) is hidden and kept out of commits unless you choose to include it. See Testver’s own .testver folder. - One action at a time — git runs one command at a time on a repository, so while any action runs (a pull, a stage, a commit) the screen’s other action buttons wait.
- Persistent errors — when an action fails, git’s full message stays on screen in a red banner until you dismiss it, so you can read it and retry rather than missing a brief popup. Common failures are explained in plain words — for example another git command holding the repository’s lock, or a push refused because the remote has commits you don’t have yet.
- Credential prompts — if Git needs a password, token, or SSH passphrase to reach the remote, a secure Git credentials dialog pops up. Your input goes only to the local git process and, if you choose, is held in memory for the session.
- New commits on the remote — Testver checks the remote by itself (every 15 minutes by default) and tells you when teammates pushed something you don’t have yet, whether pulling it will clash with your work, and the safe way to bring it in. See New commits on the remote.
The Guide button opens Git actions explained:
Getting Started
Section titled “Getting Started”Opening Git
Section titled “Opening Git”- Make sure your test project is inside a Git repository. If you are not sure, just open the screen — it will tell you.
- Navigate to the Git screen (the
/gitroute), titled Git Integration. - If git can’t be used, you will see the Git Not Available message with the reason. For a project that isn’t a repository, initialise one with
git initin your project folder; if git isn’t installed, install it and restart Testver; if git refuses the repository as owned by another account, run thegit config --global --add safe.directory …command the message shows. Then click Check again. - Once a repository is detected, the Repository Status card and the operations toolbar load automatically, with Recent Commits below.
When the project is not a repository, the screen shows this message instead:
The screen layout
Section titled “The screen layout”From top to bottom, the Git screen is made of these regions. Some appear only when relevant (for example, the conflict banner appears only during a conflicted pull).
| Region | Appears when | What it is for |
|---|---|---|
| Git Integration header | Always | Page title, one-line description, the Guide button (every action explained) and the Refresh button. |
| Remote updates banner | The remote has new commits, its history was rewritten, its branch was deleted, or it couldn’t be checked | What the newest commits are and what pulling them would do, with the right action. See New commits on the remote. |
| Next step banner (blue; green when done) | Always, until dismissed for that situation | The single next thing to do, with a short explanation and usually a button that does it. See Next step guidance. |
| Error banner (red) | An action failed | Shows the full failure message until dismissed; lets you read and retry. |
| Operation banner (orange) | A merge, rebase, cherry-pick or revert stopped part-way | Names what is in progress, with Continue (rebase, cherry-pick, revert — once the conflicts are resolved) and Abort (goes back to before it started). |
| Operations toolbar | Repository available | Buttons for Fetch, Pull, Push (or Publish), Stash, the branch selector, New branch, and Clear saved credentials. |
| Merge-conflict banner (red) | Git reports unmerged files — after a pull, a merge run in a terminal, or a stash pop | Lists each conflicted file as a clickable link that opens the resolver. It stays while the conflicts exist, including after a page reload. |
| Repository Status card | Repository available | Branch, clean/changed status, ahead/behind sync, last commit, and the uncommitted-changes list with Show Diffs. |
| Commit panel | The repository has a commit or changes (not during a rebase, cherry-pick or revert — those finish with Continue) | Message box, Amend toggle, and the Commit button. On a clean tree it is there to amend the last commit’s message. |
| Recent Commits list | Always | Expandable history of past commits, each showing its diff and any linked test-run result. |
Next step guidance
Section titled “Next step guidance”The Next step banner looks at the repository and shows the most important thing first:
| Situation | Next step | Button |
|---|---|---|
| A merge stopped on conflicts | Resolve N conflicts — click each file in the red list | — |
| A merge with every conflict resolved | Commit the merge | Go to Commit |
| A rebase, cherry-pick or revert stopped on conflicts | Resolve N conflicts, then Continue | — |
| …with every conflict resolved | Continue the rebase (cherry-pick, revert) | Continue |
| …and your choices kept the code exactly as it was | Skip this commit — that step has nothing to commit | Skip this commit |
| A stash (Pop, or Stash, pull & re-apply) came back with conflicts | Resolve N files from your stash — the stash is kept until you’re done | Back out |
| Those conflicts are resolved | Done — drop the stash | Drop the stash |
| HEAD is not on a branch | Create a branch to keep this work | — |
| A new repository with files | Make your first commit | Show changes |
| Files are staged | Commit N staged files | Go to Commit |
| Files changed, nothing staged | Choose what to commit | Show changes |
| The branch is only on this machine | Publish <branch> | Publish |
| Your branch and the remote both moved on | Pull first, then push | Pull |
| You have commits the remote doesn’t | Push N commits | Push |
| The remote has commits you don’t (and Remote updates is off) | Pull N commits | Pull |
| No remote at all | Connect a remote to share your work | — |
| Nothing to do | All caught up (green) | — |
It stays out of the way while the red error banner shows a failure, and when the remote’s history was rewritten (that banner explains what to do).
At a glance
Section titled “At a glance”The Repository Status card is your dashboard. It shows four gauges in a row.
| Gauge | Reads | Meaning |
|---|---|---|
| Branch | The current branch name, or Detached at <sha> (amber) | Which line of work you are on. Detached means HEAD is on a specific commit, not a branch: commits made there belong to no branch, and Pull and Push are disabled — switch to (or create) a branch to keep working. |
| Status | Clean (green) or ‘N changes’ (amber) | Whether you have uncommitted edits in the working tree. |
| Sync | Up arrow + count, down arrow + count, ‘Up to date’, ‘Not published’, ‘No remote’, ‘No commits yet’, or a dash | How many commits you are ahead of (green up) or behind (red down) the remote. Not published means the branch has never been pushed; the up arrow then counts the commits the remote doesn’t have yet. No remote means the repository has no remote configured, No commits yet that the repository is empty, and a dash that HEAD is detached. |
| Last Commit | Short SHA, author and age, or a dash | A fingerprint of the most recent commit, who made it, and how long ago. Hover the age for the exact date and time. |
When the working tree is not clean, an Uncommitted Changes (N) section appears below the gauges with a coloured dot per file (amber = modified, green = added/untracked, red = deleted — hover a row for its status in words) and a Show Diffs / Hide Diffs toggle to reveal the line-by-line changes. The first 20 files are listed; beyond that a +N more link opens Show Diffs, which lists them all.
Status & Changes
Section titled “Status & Changes”This is where you decide what goes into your next commit. Click Show Diffs in the Uncommitted Changes section of the Repository Status card to open the change viewer.
Staged and unstaged changes
Section titled “Staged and unstaged changes”The viewer splits your changes into two labelled groups so you always know what will and will not be committed.
- Staged (green check) — changes you have selected for the next commit. The number of staged files drives the Commit button.
- Unstaged (amber circle) — changes that exist in your working tree but are not yet part of the next commit. Commit them and they are left untouched; stage them first to include them.
Each file row shows a status icon, the file path in
monospace, a green+additionsand red-deletionscount, and a coloured status pill:untracked,added,modified,deleted, orrenamed. A header above each group shows the count and a bulk action (Stage All or Unstage All). An Expand All / Collapse All control sits at the top.
Testver’s own .testver folder
Section titled “Testver’s own .testver folder”Testver keeps its working data for the project — settings, run history and results, caches, the state of features in progress — in the project’s .testver folder. So that work on your machine can’t overwrite your team’s Testver data by accident (or theirs yours), the Git screen hides changes in .testver and keeps them out of commits by default:
- A grey note above the change list says how many
.testverchanges are hidden. The change list, the counts, Clean, the Next step banner and Stage All all leave them out. - Stage and Discard refuse
.testverfiles, and a commit leaves out any.testverfiles that were staged elsewhere (in a terminal, say). They are unstaged — your edits stay on disk — and a message says how many were left out. If only.testverfiles are staged, Commit explains why nothing was committed. - A merge is committed whole:
.testverchanges that arrived with the merged commits stay in the merge commit, since leaving them out would undo them. Conflicts in.testverfiles are always shown, so they can be resolved.
To share Testver configuration on purpose, switch on Include .testver changes in that note. A warning explains what committing the folder means; tick I understand and confirm. The .testver changes then appear and can be staged and committed like any other file, and the note turns amber while it is on. Their contents are not previewed in the diff — Testver’s own files can hold settings and saved keys, and anyone who can open Testver can read the Git screen (the same goes for .testver files in a commit’s diff in History). The choice lasts for that browser tab — a new tab, or switching it off, hides the folder again. Sign-in data (accounts, passwords, keys) is never committed either way: Testver keeps it out of git on its own.
Switched on, the note turns amber and the files appear:
Vendor files from a running cloud run
Section titled “Vendor files from a running cloud run”While a BrowserStack, LambdaTest or Sauce Labs run is in progress, Testver may write a vendor config file in the project (browserstack.yml, browserstack.json, lambdatest-config.json, .sauce/config.yml). It carries your access key, so the Git screen leaves it out on its own: Stage and Stage All stage everything else and a message names the file left out, a commit unstages it if it was staged elsewhere, and a stash leaves it in place. If it’s the only staged file, Commit says why nothing was committed. Your own copy of such a file — as it was, or edited since — is never touched. See Cloud Grid Execution.
Viewing a file’s changes
Section titled “Viewing a file’s changes”- Click anywhere on a file row (the chevron flips from right to down) to expand it.
- Read the diff: lines beginning with
+are additions (green), lines with-are removals (red),@@lines mark the position of each change, and+++/---are the file headers. - Long diffs show the first 200 lines per file, with a Show all N lines link for the rest. A diff too large to send whole (over about 200 KB for one file) is cut, and a note under it says so. New (untracked) files get a short preview — the first 50 new files only; the rest are listed without one and stage and commit as usual — and a binary file shows no text.
- Click the row again to collapse it, or use Collapse All to close every file at once.
File actions
Section titled “File actions”Each file row carries the actions that apply to it. The action you see depends on whether the file is already staged.
| Action | Shown on | What it does |
|---|---|---|
| Stage (green, plus icon) | An unstaged file | Adds that file’s changes to the next commit. A success toast confirms ‘Staged <path>’. |
| Unstage (grey, minus icon) | A staged file | Removes that file from the next commit; the changes stay in your working tree. |
| Stage All | Header of the Unstaged group | Stages every currently unstaged file in one click — except a vendor config file a running cloud run generated, which is left out with a message saying so. |
| Unstage All | Header of the Staged group | Moves every staged file back to unstaged. |
| Discard (red, trash icon) | An unstaged file only | Throws away that file’s unstaged changes; anything staged for it stays staged. Always asks for confirmation first. |
Discard always asks first:
Committing
Section titled “Committing”The Commit panel is where you write the message and seal your snapshot. It shows whenever the repository has changes or a commit — on a clean tree it reads Nothing to commit, and is there so you can amend the last commit’s message. During a rebase, cherry-pick or revert it is hidden: those finish with Continue in the orange banner.
Writing and making a commit
Section titled “Writing and making a commit”
- Stage at least one file (see the previous section). A green N staged chip appears in the Commit panel header.
- Type a short, clear message in the message box describing what you changed.
- Click Commit (green, with the commit icon), or press Ctrl+Enter (Cmd+Enter on Mac) in the message box.
- A success toast confirms the commit, for example ‘Committed <sha> on <branch>’. The message box clears and the staged count resets.
Who a commit is made as
Section titled “Who a commit is made as”Under the message box, the panel says who the commit will be attributed to — for example Committing as Tess Ter <tess@example.com> — from your Testver profile.
| You are | The commit’s author | The commit’s committer |
|---|---|---|
| The Super admin | The repository’s git identity (git config user.name / user.email), as for a commit made in a terminal | The same |
| Any other user with an e-mail on your profile | You — your Testver name and e-mail | The repository’s git identity |
| A user without an e-mail on your profile | The repository’s git identity | The same |
If the repository has no git identity configured, your Testver name and e-mail are used for both, so the commit still works; if your profile has no e-mail either, the panel shows a warning and git may refuse the commit. Nothing is written to the repository’s git configuration. The Audit Log records who each commit was made as.
Amending the last commit
Section titled “Amending the last commit”Amend mode replaces the most recent commit instead of creating a new one — the classic ‘oops, I forgot a file’ or ‘I made a typo in the message’ fix.
- Tick the Amend last commit checkbox at the top-right of the panel. An amber Amending last commit chip appears, the button turns amber and reads Amend, and the message box fills with the last commit’s message (unless you had already typed something). The checkbox is disabled in a repository with no commits yet, and while a merge is being finished.
- Edit the message and/or stage any forgotten files.
- Click Amend (or press Ctrl+Enter). Amend is allowed even with nothing newly staged, so you can change just the message.
- The previous commit is rewritten and a toast confirms ‘Amended <sha> on <branch>’. An amend keeps the original commit’s author.
Finishing a merge commit
Section titled “Finishing a merge commit”After you resolve a merge conflict, the Commit panel shows an orange Finishing merge chip and pre-fills a suggested message such as ‘Merge into <branch>’ once (clear it and it stays cleared). In this case the Commit button is enabled even when nothing appears staged, because the commit’s job is to seal the two parent branches together. Just click Commit to complete the pull — or click Abort merge in the orange banner to go back to before the pull.
Branches & Remote
Section titled “Branches & Remote”The operations toolbar across the top of the screen is the control panel for branches, stashes, and exchanging commits with the remote. While any git action runs — from the toolbar, the change list or the Commit panel — the other actions wait, so two never collide.
Switching branches
Section titled “Switching branches”
- Use the branch selector dropdown (next to the branch icon) to switch branches. It is grouped into Local branches and Remote tracking branches; the current branch is marked ‘(current)’.
- Pick a different branch to switch to it. Picking a remote branch like
origin/feature-xswitches to your localfeature-x: the first time, Testver creates it, set to trackorigin/feature-x(the toast says ‘Created feature-x, tracking origin/feature-x’); if you already have one, it switches to it and the toast reminds you to Pull to bring in the remote’s newest commits. - To create a new branch, click + Branch, type a name, and press Create (or Enter). The new branch is created and checked out in one step, confirmed by a toast. Names are checked by git itself: spaces,
..,~ ^ : ? * [ \, a trailing/or.lock, and names that already exist are refused with a message saying why. - Pull always brings in your current branch’s own remote branch. To merge a different branch into it, use a terminal or your team’s workflow (for example a pull request); the conflicts that leaves are resolved here (section 6).
Stashing changes
Section titled “Stashing changes”A stash is a temporary shelf for uncommitted changes.
| Control | Effect |
|---|---|
| Stash | Saves all uncommitted changes (including untracked files) to a new stash — except Testver’s own .testver folder, which the running server needs in place. You may type an optional message first. Disabled when the tree is clean. |
| Pop | Re-applies the most recent stash to your working tree and removes it from the stash list. Appears only when at least one stash exists. If applying it runs into conflicts, the changes are applied with conflict markers, the stash is kept, and the conflict banner opens — resolve the files, then Drop the stash from the Next step banner, or Back out. See Conflicts from a stash. |
| Stash list (expandable) | A count badge shows how many stashes exist. Expand it to see each stash (stash@{0}, stash@{1}…) with its message. |
| Drop (trash icon per stash) | Permanently deletes that one stash after a confirmation. The contents cannot be recovered from Git afterwards. If the stash list changed since it was shown (a stash made in a terminal, say), Drop and Pop refuse rather than hit a different stash — refresh and try again. |
Pushing and pulling
Section titled “Pushing and pulling”| Button | Direction | What happens |
|---|---|---|
| Fetch | Remote → local (no merge) | Downloads the latest remote commits without touching your files. A safe way to see what is new. Disabled when the repository has no remote. |
| Pull | Remote → local (with merge) | Fetches and merges the remote’s commits into your branch. A behind-count badge shows how many commits you are behind. When your branch and the remote have both moved on, it merges them (unless your repository is set up to rebase — pull.rebase — which Testver respects). If the merge conflicts, a red banner lists the affected files instead of a false ‘success’. Disabled on a branch that is not published yet — there is nothing to pull — and on a detached HEAD. |
| Push | Local → remote | Sends your local commits to the remote branch your branch tracks, even when that branch has a different name. Disabled when you are not ahead (its tooltip then reads ‘Nothing to push’) or HEAD is detached; otherwise shows an ahead-count badge. When the remote also has commits you don’t have, pull first — the push would be refused. |
| Publish | Local → remote (first push) | Shown in place of Push on a branch that has never been pushed. Pushes it to origin (or the only remote) and sets it to track the remote branch, so Push and Pull work normally afterwards. The toast reads ‘Published <branch> to origin/<branch>’. |
Testver only pushes existing local branches to configured remotes, and never force-pushes.
On a new branch, Push becomes Publish:
Git credentials
Section titled “Git credentials”When Git needs to authenticate with the remote — an HTTPS username and password/token, or an SSH key passphrase — a Git credentials dialog pops up automatically. It appears no matter which screen you are on when the operation runs.
- Read the exact prompt Git issued, shown in the orange callout (for example ‘Username for https://github.com:’ or ‘Enter passphrase for key …’).
- The dialog adapts its title and placeholder to the request: Git username, Git password, SSH passphrase, or Git credentials. Everything except a username or a yes/no question is masked — a PIN, a token or a one-time code included; the eye icon shows what you typed.
- Type the requested value. For HTTPS, modern hosts expect a personal access token in place of a password.
- Optionally tick Remember for this session to avoid re-typing on the next operation.
- Click Submit (or press Enter). Press Escape or Cancel to abort the operation. If git stops waiting (after two minutes, or because the operation ended), the dialog closes by itself, or says the request expired — run the action again.
When one or more credentials are remembered, a Clear saved credentials button (with a count badge) appears in the toolbar. Clicking it, then confirming, forgets every remembered credential for the session — the next operation that needs authentication will prompt you again.
New commits on the remote
Section titled “New commits on the remote”Testver keeps an eye on the remote for you. On a timer (every 15 minutes by default — an admin sets it in Settings → Remote updates) it downloads the newest commits of your branch’s remote branch and works out what pulling them would do. A check only downloads: your files, staged changes and branch never change until you pull. It works with any git remote — GitHub, GitLab, Bitbucket, Azure DevOps, a self-hosted server, SSH or HTTPS — and names it that way on screen (any other server is called by the remote’s name, such as origin).
A check runs when Testver starts (after about 20 seconds), on the timer, and whenever you click Check again. It is skipped on a branch that isn’t published, on a detached HEAD and while a merge or rebase is in progress. A background check never asks for a password: when the remote needs a sign-in nobody remembered this session, it says so instead.
What the banner says
Section titled “What the banner says”The banner appears at the top of the Git page and always shows who pushed, the commits (newest first) and how many files and lines they change.
| Banner | When | What to do |
|---|---|---|
| New commits — pulls cleanly (blue) | Nothing incoming clashes with your work | Pull now. |
| …and they change a file you are editing (amber) | An incoming commit changes a file with your uncommitted edits — git won’t pull over them | Stash, pull & re-apply (below), or Commit my changes first. The banner says in advance whether putting your edits back will need a conflict resolved, and in which file. |
| Pulling will need you to resolve N files (orange) | Your local commits and the incoming ones change the same lines | Pull & resolve — the conflict resolver opens for exactly the files listed. Testver test-merges the two sides without touching your files to know this. |
| History rewritten (force-pushed) (red) | The remote no longer has commits your branch has | No Pull is offered — it would mix the old and new history. Compare the two histories, or Save my commits on a branch & match the remote: your branch is saved as <branch>-before-<date>, then moved to the remote’s version. Nothing is deleted. |
| Remote branch deleted (amber) | The branch your branch tracks is gone — usually a merged pull request | Switch to main & pull, Publish it again, or Delete my local branch (only when its commits are merged, so nothing is lost). |
| Couldn’t check (grey) | The remote needs a sign-in, or can’t be reached | Check now — sign in once and tick Remember for this session, and background checks carry on by themselves. |
When an incoming commit changes a file you are editing:
When your local commits and the incoming ones change the same lines:
When the remote’s history was rewritten:
When the branch you track was deleted on the remote:
When the remote couldn’t be checked:
View incoming changes lists every incoming commit with its files and diffs (and, after a rewritten history, the commits only your branch has). Remind me later hides the banner for an hour, four hours, or until newer commits arrive; the header and sidebar keep showing the count. The Sync gauge adds Incoming: N commits · files · +/− and when the last check ran.
The Sync gauge shows the same:
Stash, pull & re-apply
Section titled “Stash, pull & re-apply”One click for the most common clash — you have uncommitted edits and the incoming commits change the same files:
- Your changed files are put aside on a stash named Before pulling origin/main — date time (Testver’s own
.testverfolder is never stashed). - The new commits are pulled.
- Your edits are put back. When they clash with the new commits, the conflicted files open in the resolver and the stash is kept until you have finished (then Drop the stash, or Back out to keep the pulled files and try later — see Conflicts from a stash); when they go back cleanly, the stash is removed.
A dialog shows each step as it happens. If your local commits clash with the incoming ones during the pull itself, it stops there and your edits wait in the stash (pop it after committing the merge).
Elsewhere in Testver
Section titled “Elsewhere in Testver”- Header — right after the search box: your current branch (always, in a git project;
↑Nwhen you have commits to push) and, only when there is something to know, ↓N new on GitHub (amber with clash when it touches your work), conflicts (a merge or rebase in progress, or a stash that came back with conflicts), a rewritten or deleted remote branch, or Can’t check. Hover the new-commits chip for the commits and Pull now; click either chip to open the Git page. On narrow windows they shrink to icons. - Sidebar — a ↓N pill on Git.
- Before a test run — when your branch is behind (and the admin setting is on), Runner, Test Explorer, file and suite runs first ask Pull, then run / Run anyway / Cancel, naming the incoming commits that change the files the run uses. Tick Don’t warn me again today to skip it.
- AI Assistant — when the conversation involves a file that is newer on the remote, a notice above the message box offers Pull now or View the change before the assistant works on old code.
- Project Explorer — files with newer commits on the remote get a ↓ badge; the open file shows who changed it and offers the right way to pull.
- E-mail and Slack — an admin can have Testver announce new commits (once per new set) to chosen addresses and the Slack connector’s channel.
The header chips, with the new-commits card open:
The question before a test run:
In the Project Explorer:
In the AI Assistant:
History & Conflicts
Section titled “History & Conflicts”Recent commits
Section titled “Recent commits”The Recent Commits list at the bottom of the screen is your project’s timeline. Each row shows the short SHA, the commit message, the author, and a relative time (for example ‘3h’, ‘2d’) — hover it for the exact date and time.
- Click any commit row to expand it. The chevron flips and a detail panel slides open beneath it.
- The detail panel shows the author, the time, the number of files changed, and a per-file diff with
+/-line counts. The repository’s very first commit shows every file it added. - Long diffs show the first 50 lines with a Show all N lines (M hidden) link to reveal the rest; Collapse hides them again. A file’s diff larger than about 200 KB is cut, and the panel says so.
- Scroll to the bottom and click Load 30 more commits to page further back through history — the list stays on screen while more loads. The button disappears at the start of the repository, or after 1,000 commits (the screen then says to use
git login a terminal for older history).
Resolving merge conflicts
Section titled “Resolving merge conflicts”When a Pull (or a merge, rebase or cherry-pick run in a terminal, or a stash pop) cannot combine changes automatically, a red Merge conflict banner lists every file that needs your decision — Stash conflict when it was a stash being put back. The orange operation banner says what is in progress and offers Abort; the blue Next step banner guides you through the rest. The header shows a red N conflicts chip on every screen until they are resolved.
- In the red banner, click a file name. The side-by-side Resolve conflict editor opens for that file.
- Each disagreement is shown as a numbered Conflict # block with two panes: Ours on the left and Theirs on the right. Each pane says what that side is — for a pull, Ours — Your branch (main) and Theirs — Incoming (origin/main) — and the side holding your own work carries a your work badge. A line above the conflicts explains the two sides for the operation in progress (see the table below). If your repository uses
merge.conflictStyle = diff3, a Common ancestor section shows the lines as they were before either change. - Every conflict starts Not decided — Testver never picks a side for you. Choose Use ours, Use theirs, Both (keep both sides), or Edit to hand-edit the result in a text box.
- To decide every conflict in the file at once, use the bulk buttons at the top: Use ours, Use theirs, or Keep both. Toggle Show full preview to see the assembled result; undecided conflicts still show their markers there.
- When every conflict has a decision, click Mark resolved & stage — until then the footer counts how many are decided and the button stays disabled. Testver writes the resolved file and
git adds it automatically. - Repeat for each conflicted file. A toast tells you how many conflicts remain after each one.
- Once all files are resolved, the Commit panel shows Finishing merge — click Commit to seal the merge and complete the pull. Then Push if you are ahead. For a rebase, cherry-pick or revert, click Continue in the orange banner instead; if the next commit conflicts too, the banner and the conflict list come back. If your choices kept the code exactly as it already was, that step has nothing to commit: the banner offers Skip this commit instead of Continue (git can only leave such a commit out — your files stay exactly as they are).
- Changed your mind? Abort in the orange banner (after a confirmation) puts your branch back to how it was before the merge, rebase, cherry-pick or revert started.
Show full preview shows the whole file as it will be written:
Abort asks before going back:
Conflicts from a stash
Section titled “Conflicts from a stash”When Pop or Stash, pull & re-apply puts your stashed changes back and they clash with newer commits, there is no merge to abort — the stash is simply kept. Resolve the files as above; the Next step banner then says Done — drop the stash, and its Drop the stash button removes the copy so it can’t be applied twice. To give up instead, click Back out (in the red banner or the Next step banner) and confirm: the files the stash touched go back to the last commit — its new files are removed — and the stash stays in the list to Pop again later. Any resolving you did in those files is thrown away.
In the resolver, your stashed edits are the Theirs side:
Once the files are resolved:
Back out asks first:
What “ours” and “theirs” mean
Section titled “What “ours” and “theirs” mean”Git calls the two sides of a conflict ours and theirs, but what they are depends on what stopped. The resolver always names them and marks yours, so you don’t have to remember:
| Stopped during | Ours | Theirs | Your own work is |
|---|---|---|---|
| A pull or merge | Your branch | The incoming branch (for a pull, e.g. origin/main) | Ours |
| A pull with rebase, or a rebase | The incoming code your commits are replayed onto | Your commit being replayed | Theirs |
| Pop, or Stash, pull & re-apply | The last commit (including anything just pulled) | Your stashed changes | Theirs |
| A cherry-pick | Your branch | The commit being picked | Ours |
| A revert | Your branch | The undo of the commit being reverted | Ours |
A pull with rebase that stopped on a conflict:
When your choices kept the code exactly as it was, the step offers Skip this commit:
Common Tasks (How Do I…?)
Section titled “Common Tasks (How Do I…?)”| I want to… | Do this |
|---|---|
| Save my current work as a snapshot | Show Diffs → Stage the files → write a message → Commit. |
| Include only some of my edits in a commit | Stage just the files you want; leave the rest unstaged, then Commit. |
| Undo a change to a file before committing | Discard the unstaged file (confirm the warning) — restores it to the last commit. |
| Fix the message of my last commit | In the Commit panel (shown even with nothing changed), tick Amend last commit — the message box fills with the current message — edit it, click Amend (only if not yet pushed). |
| Add a forgotten file to my last commit | Stage the file, tick Amend last commit, click Amend (only if not yet pushed). |
| Catch up with my teammates’ work | Click Pull. Resolve any conflicts in the editor, then commit the merge. |
| Publish my commits | Click Push (enabled when you are ahead of the remote). |
| Push a branch I created for the first time | Click Publish — it pushes the branch and sets it to track the remote one. |
| Work on a teammate’s remote branch | Pick origin/<branch> in the branch selector — Testver creates a local branch that tracks it. |
| Delete a file in a delete/modify conflict | Open it from the Merge conflict banner and click Delete the file. |
| Back out of a pull, rebase or cherry-pick that conflicted | Click Abort in the orange banner and confirm. |
| Finish a rebase after resolving its conflicts | Click Continue in the orange banner. |
| See a commit made in a terminal right now | Click Refresh at the top of the screen. |
| Find out what a button does | Click Guide at the top of the screen, or hover the button. |
| Know which side of a conflict is mine | Look for the your work badge on a pane — in a rebase or a stash it is the Theirs side. |
| Undo putting back a stash that came back with conflicts | Click Back out and confirm — the files return to the last commit and the stash is kept. |
| Bring in teammates’ commits while I have edits to the same files | Click Stash, pull & re-apply in the amber banner. |
| Know whether pulling will conflict before I do it | Read the banner — it says whether it pulls cleanly, and which files would need resolving. |
| Stop being reminded about the same commits for now | Remind me later on the banner (1 hour, 4 hours, or until newer commits). |
| See what’s new on the remote without changing my files | Click Fetch. |
| Start a new line of work | Click + Branch, name it, click Create. |
| Switch to a different branch | Choose it from the branch selector dropdown. |
| Set aside unfinished work temporarily | Click Stash (optionally with a message); bring it back later with Pop. |
| Commit Testver’s own settings for my team | Switch on Include .testver changes above the change list, read the warning and confirm, then stage and commit the .testver files. |
| See exactly what changed in an old commit | Expand the commit in Recent Commits and read its per-file diff. |
| Stop Testver from remembering my git password | Click Clear saved credentials in the toolbar and confirm. |
Tips & Best Practices
Section titled “Tips & Best Practices”- Commit small and often. Frequent, focused commits with clear messages make history easy to read and mistakes easy to undo.
- Read the Sync gauge before you push or pull. Up arrow = you have local commits to push; down arrow = the remote has commits you should pull first.
- Pull before you start a big change so you are working on top of the latest shared state and avoid conflicts later.
- Stage deliberately. Use the Staged/Unstaged split to keep unrelated changes out of a commit, rather than committing everything at once.
- Stash instead of discard when you might want the work back — discard is permanent.
- Follow the blue Next step banner. It always names the single correct next action after a state change.
- Prefer personal access tokens over passwords for HTTPS remotes, and tick Remember for this session to avoid repeated prompts during a work session.
- Use Show full preview in the conflict editor to sanity-check the assembled file before you mark it resolved.
Troubleshooting & FAQ
Section titled “Troubleshooting & FAQ”| Symptom | Cause & fix |
|---|---|
| The screen shows Git Not Available | It says why. Not a repository: run git init in the project folder. Git not installed: install git and restart Testver. Owned by another account (“dubious ownership”): run the git config —global —add safe.directory command shown. Then click Check again. |
| Push is greyed out | You have no local commits ahead of the remote (hover it: the tooltip reads ‘Nothing to push’). Commit something first. On a branch that has never been pushed, the button reads Publish instead and is enabled. |
| Pull is greyed out | The branch isn’t published yet, so it has no remote branch to pull from — click Publish first. On a detached HEAD, switch to a branch. If Fetch is greyed out too, the repository has no remote configured. |
| Push was refused: “the remote has commits you don’t have yet” | Someone pushed first. Click Pull (resolve any conflicts), then Push. |
| ”Another git command is running in this repository” | Another git process holds the repository’s lock (a terminal, an IDE, another tab). Wait a moment and retry; if it never clears, a crashed git process left .git/index.lock behind — delete that file once no git command is running. |
| My commit shows the wrong name | The line under the message box says who a commit is made as. Add or fix the e-mail on your profile; the Super admin always commits as the repository’s git identity. |
| Amend asks me to confirm | The last commit is already on the remote. Amending it means your next Push will be refused — make a new commit instead unless you are sure. |
| A switch to a remote branch didn’t bring in new commits | You already had a local branch with that name, so Testver switched to it. Click Pull to update it. |
| A red error banner appears after Pull/Push/Fetch | The remote operation failed; the full message is shown. Read it (often authentication or network), fix the cause, and click the action again — the banner stays until you dismiss it. |
| A Git credentials dialog keeps appearing | Git needs authentication for every operation. Tick Remember for this session, and for HTTPS use a personal access token rather than a password. |
| Pull stopped with a red Merge conflict banner | The same lines changed on both sides. Click each file in the banner, resolve it in the editor, then commit the merge to finish the pull. |
| I’m not sure which side of a conflict is mine | Look for the your work badge. In a rebase (or a pull with rebase) and when a stash is put back, your work is the Theirs side — see What “ours” and “theirs” mean. |
| Continue says the step has nothing to commit | Your choices kept the code exactly as it already was (for example Use ours everywhere in a revert). Click Skip this commit to leave that commit out and carry on, or Abort. |
| The Commit button is disabled | You have nothing staged and no message, or are not amending/finishing a merge. Stage a file and type a message. |
| After resolving every conflict, the file still seems unmerged | Commit the merge — the Finishing merge state needs a commit to seal both parents even when nothing looks staged. |
| My uncommitted edits came with me to the other branch | That is git’s normal behaviour when they don’t clash with the branch. Stash them first to leave them behind. |
| A stash pop said it was applied with conflicts | The stash is kept. Resolve the files in the conflict banner, then click Drop the stash in the Next step banner — or Back out to put those files back to the last commit and keep the stash for later. |
| My .testver changes don’t show, or a commit left them out | Testver’s own .testver folder is hidden and kept out of commits by default. Switch on Include .testver changes above the change list if you mean to share it — see Testver’s own .testver folder. |
| The new-commits banner says Couldn’t check | The remote needs a sign-in nobody remembered this session, or can’t be reached. Click Check now, sign in and tick Remember for this session; background checks then carry on. |
| I dropped a stash by mistake | Dropped stashes cannot be recovered from Git. Only the stashes still listed can be popped. |
| The diff looks cut off | The change viewer shows 200 lines and commit details 50, each with a ‘Show all’ link; file history shows 100 and says so. A file’s diff over about 200 KB is cut, with a note saying so — open the file to see it all. A new file shows a short preview. |
Who can do what
Section titled “Who can do what”Everyone who can open Testver can read the Git screen — status, diffs, history and branches. Changing the repository (Stage, Discard, Commit, Pull, Push, Stash, Back out, branches, resolving conflicts, Abort, Continue and Skip, Stash, pull & re-apply, matching a rewritten remote, Check again) needs the Tester role or above; a Viewer who tries gets an “Insufficient permissions — this needs the tester role or higher” error.
Related
Section titled “Related”- Project Explorer — edit files.
- CI/CD Pipelines — pipeline configuration files committed via this screen.