Git is at the heart of the development workflow.
Git is great tool and in modern development we can not survive without it.
But it can be scary and hard for even experienced developers.
Maxine is still the only person who knows every keyboard shortcut from vi to the latest, greatest editors. But she is never ashamed to tell anyone that she still needs to look up nearly every command line option for Git—because Git can be scary and hard! What other tool uses SHA-1 hashes as part of its UI? from Unicorn Project, Gene Kim
The goal of this extension is to make it simple to configure and share team-based git workflow strategy and to make teammates easy to follow the configured strategy.
Also Fika provides integration with issue tracking tools (e.g. Notion, Jira) and with github.
With Fika, no more manual creation of issue and pull request and manual linking with issue tracking tools.
You can generates sharable git-workflow configuration file named .fikarc
inside the repository by answering some questions.
You can start handling of the issue given as url from issue tracking tool (IST), inside automatically created feature branch for this issue.
fika-start.mov
This command executes a below sequence.
- It collects information of the issue (title) from IST (such as Notion or Jira).
- It creates github repository issue (e.g. #236) with same title, and leave link for url of original issue from IST.
- It appends github repository issue link to IST issue document.
- It creates a local feature branch following name convention configured by
.fikarc
file. - Checkout to the created local feature branch to start handling the issue.
You can finish handling of the current issue, and share result with team.
fika-finish.mov
This command executes a below sequence.
- It will pull base branch and check merge conflict.
- It will push this local feature branch to remote repository.
- It will create github pull request (with same name with issue).
- It will link github pull request to original issue from IST.
- Checkout to base branch depending on the configuration.
fika d
: Checkout to the develop branch (or the name of the develop branch specified by the user in.firarc
)fika f
: Checkout to the most recent feature branch, base on the naming scheme gave by the user.fika f <issue_number>
: Checkout to the feature branch handling that issue number.fika info
: Display information about an issue being handled in this feature branch : its branch name, title, GitHub url link and PR url link if was created.
To use fika, gh
a client tool of github, needs to be installed in advance.
Installing gh
is easy!
You can install
by running brew install gh
for macos,
by choco install gh
or winget install --id GitHub.cli
for windows.
You can check in more details from below link.
https://github.com/cli/cli#installation
💡 And installation, do not forget to log in to github through `gh auth login`npm install -g fika-cli
# for notion
fika connect notion
# for jira
fika connect jira