Branches, stash and conflicts
The Review tab on the phone and the PC is full git: branches, stash, history and conflict resolution.
-
1
Open the branches
Tap the branch name at the top of Review. You get “Find a branch…”, local branches and folded remote ones — each with its latest commit. “+” on a branch creates a new one from it, the bin deletes it.
The branch list -
2
Switch or create
Tap a branch to switch to it. If uncommitted changes are in the way, Host offers “Stash & switch”. Send a new branch to the remote with “Publish branch”.
-
3
Stash and git commands
“More actions” (⋯) → “Stash all changes”. Stashed changes live in the Stash tab: “Apply”, “Pop” or “Drop”. The same menu has Fetch, Pull, Pull (rebase), Push and Push --force-with-lease.
-
4
History
The History tab lists the branch's commits: author, time, branches and tags. Commits not pushed yet are marked “not pushed”. The commit hash can be copied.
Commit history -
5
Resolve a conflict
If a merge, rebase or pull ends in a conflict, Review shows a “Merge conflicts” section and a banner with “Continue” and “Abort”. Fix the file in the built-in editor or ask the agent, tap “Mark as resolved”, then “Continue”.
Branches diverged from the remote? “Sync” asks how to combine them: Rebase or Merge.