Skip to content

Commit 9f86e95

Browse files
authored
Merge pull request #11615 from Mikejo5000/mikejo-br21
Add article for Git Changes window when there's no active repo
2 parents 482292a + ddac621 commit 9f86e95

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Git Changes window with no active repo
3+
description: Learn what to do with Git in Visual Studio when there's no active repo set
4+
ms.date: 08/23/2023
5+
ms.topic: ui-reference
6+
author: TerryGLee
7+
ms.author: tglee
8+
manager: jmartens
9+
ms.prod: visual-studio-windows
10+
ms.technology: vs-ide-general
11+
ms.custom: version-control
12+
---
13+
14+
# Git Changes window with no active repo set
15+
16+
[!INCLUDE [Visual Studio](~/includes/applies-to-version/vs-windows-only.md)]
17+
18+
If you issue a Git instruction in Visual Studio, such as trying to commit a change when there's no active repo set, you see the Git Changes window. From this window, you may choose to:
19+
20+
- [Create Git repository](git-create-repository.md), if you don't have an existing Git repo.
21+
- [Clone repository](git-clone-repository.md), if you have a Git repo hosted on a Git provider like GitHub.
22+
23+
If you're new to Git in Visual Studio, see [How Visual Studio makes version control easy with Git](git-with-visual-studio.md) or the [https://git-scm.com/](https://git-scm.com/) website.
24+
25+
:::image type="content" source="media/git-changes-with-no-active-repo.png" alt-text="Screenshot of the Git Changes window with no active repo set.":::
26+
27+
> [!IMPORTANT]
28+
> If you have a suggestion for us, please let us know! We appreciate the opportunity to engage with you on design decisions via the [**Developer Community**](https://aka.ms/vsgitsuggestions) portal.
29+
30+
For additional information, see the following:
31+
32+
- [Getting started with Git in Visual Studio](https://www.youtube.com/watch?v=GCZ9x3yqkyc) video on YouTube
33+
- [Enhanced productivity with Git in Visual Studio](https://devblogs.microsoft.com/visualstudio/enhanced-productivity-with-git-in-visual-studio/) blog post
34+
- [Options dialog box](../ide/reference/options-dialog-box-visual-studio.md)
Loading

docs/version-control/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838
href: git-multi-repository-support.md
3939
- name: Resolve merge conflicts
4040
href: git-resolve-conflicts.md
41+
- name: Reference
42+
items:
43+
- name: Git Changes with no active repo set
44+
href: git-changes-with-no-active-repo.md
4145
- name: Resources
4246
items:
4347
- name: Create a GitHub account

0 commit comments

Comments
 (0)