Using Source Control in your Gitspaces
Using the Supported Source Control Management Tools
- Using GitHub Repositories
- Using GitLab Repositories
- Using Bitbucket Repositories
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"
-
Install the glab CLI.
-
Authenticate the user.
- Follow the steps described here to configure Bitbucket.
Commit Changes to Upstream
-
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.
-
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.
-
To commit your staged changes, type a commit message describing the change you've made, then click Commit.
-
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.
-
And that’s it! You have successfully used Gitness Gitspace for development