Conversation
bakayu
left a comment
There was a problem hiding this comment.
When I am running the command gitx, it just says this:
Did you try running this feature from a directory without a git repository initialized?
Make sure to run Make install to install the binary to ~/go/bin/, also remove the gitx binary installed in /usr/loca/bin if you installed it via the install script while testing your own development version.
Also, your approach is not fully correct, we don't want the TUI to be opened without there being a git repository, and your approach requires the app to be opened to initialize a new git repository.
Suggested changes:
Maybe shift to a flag,
If no git repo exists and the user runs gitx, it gives an error message saying "error: not a git repository"
Extend this error message saying
error: not a git repository
run gitx -i/--init to initialize a new git repository and open gitxAnd implement the respective flags, when provided they should initialize the git repository at the current directory.
If you have another approach in mind, let me know.
|
Got it, thanks for explaining. |
|
@shatrughantwt the behavior looks good from the provided screenshots. But it looks like you have not pushed your code yet, please push your code to this branch so that I can review it. |
|
@bakayu, All Done |
This reverts commit a5b4b12.
|
done |
Signed-off-by: Ayush <mail@ayuch.dev>


Description:
Fixes: #32
Summary
Implemented repository initialization feature for gitx TUI.
What Changed
Added ability to initialize Git repositories directly from TUI interface.
Key Features
iin Status Panel to initializeFiles Changed
Testing
✅ All unit tests pass (15/15)
✅ Manual testing successful
✅ No breaking changes
How to Test
make run1for Status Panelito initialize repo