For the complete documentation index, see llms.txt. This page is also available as Markdown.

Using Source Control in your Gitspaces

Understand how to use source control in your Gitspaces.

Using the supported source control management tools

GitHub CLI comes pre-installed with VS Code IDE, so you just need to login to use.

git config --global user.email "you@example.com" 
git config --global user.name "Your Name"
  1. Install the glab CLI.

  2. Authenticate the user.

  1. Follow the steps described here to configure Bitbucket.

Commit changes to upstream

  1. Once you've made a few changes, you can use the integrated terminal or the source view to commit your work. Here are the steps to use the Source Control view for this example.

  2. To stage your changes, click + next to the file to stage the changes, or next to Changes if you've changed multiple files and you want to stage them all.

  3. To commit your staged changes, type a commit message describing the change you've made, then click Commit.

  4. Now Sync Changes, it will redirect you to login and authorize to your Source Provider. After authorization, your changes will be committed to your fork.

  5. And that’s it! You have successfully used Harness Open Source Gitspaces for development

How to open a pull request

Follow the instructions on pushing and pulling remote changes.

Last updated

Was this helpful?