Prerequisites
Before performing git operations, you’ll need:- Git installed on your machine
- A Personal Access Token (PAT) for authentication
Personal Access Tokens are required for all push operations and for cloning/pulling private repositories.
Setting up authentication
Create a Personal Access Token
Navigate to Settings > Personal Access Tokens and click Generate New Token.
- Enter a descriptive name for your token (e.g., “My Development Token”)
- Click Generate Token
- Copy the token immediately - you won’t be able to see it again
Cloning a repository
To clone a repository to your local machine:Get the repository URL
On the repository page, click the Code button to reveal the clone options. The HTTPS URL will be displayed in the format:Click the copy icon to copy the URL to your clipboard.
Clone the repository
Open your terminal and run:If the repository is private, you’ll be prompted for your username and Personal Access Token.
Cloning public vs private repositories
Public repositories can be cloned without authentication:Pushing changes
After making changes to your local repository, you can push them to Gitflare.Authentication for push operations
All push operations require authentication, regardless of repository visibility:Personal Access Tokens function like passwords for Git over HTTP. Never share your token or commit it to a repository.
Pulling changes
To fetch and merge changes from the remote repository:Pulling from private repositories
Private repositories require authentication for pull operations:Working with branches
Viewing branches
You can view available branches in the Gitflare UI using the branch selector dropdown on the repository page.Creating and pushing a new branch
Switching branches
Use the branch selector in the Gitflare UI to view different branches, or locally:Common workflows
Starting with an empty repository
When you create a new repository in Gitflare:Migrating an existing repository
To move an existing repository to Gitflare:Daily development workflow
Viewing commits
After pushing commits, you can view them in the Gitflare UI:- Navigate to your repository
- Click on the Commits tab
- View commit history with messages, authors, and timestamps
- Click on any commit to see the detailed changes
Troubleshooting
Authentication failed
If you see an authentication error:- Verify you’re using your Personal Access Token as the password (not your account password)
- Check that the token hasn’t been deleted in Settings
- Ensure your username is correct
Permission denied
For private repositories:- Confirm you’re the repository owner
- Verify you’re using a valid Personal Access Token
- Check that the repository URL is correct
Repository not found
- Verify the repository URL is correct
- Check if the repository is private and you’re authenticated
- Ensure the repository exists at the specified path
Next steps
Creating repositories
Learn how to create and configure repositories
Managing issues
Track bugs and features with issues