유용민 (CAU CSE 19") | 이상윤 (CAU CSE 19") | 이지윤 (CAU CSE 20") | 장세환 (CAU CSE 19") | |
---|---|---|---|---|
Github | yymin1022 | falconlee236 | jiyuneel | sehwanii |
Project #1 Role |
Project Manager Git Staging 구현 File Management 구현 보조 |
원본 Project 분석 File Management 총괄 구현 |
Git Init / Git Status 구현 예외처리 테스트 |
File Management 구현 보조 예외처리 테스트 |
Project #2 Role |
Project Manager Git Branch Management 구현 |
Git Branch Merge 구현 | Git Clone 구현 | Git Commit History 구현 |
- This Project is based on
Node.JS Electron
Library, so you need to installNode.JS
before compile. You can getNode.JS 18.16.0 LTS
Version from This Link, and please register toPATH
Environment Variable. - This Project is tested on
Mac OS 13 Ventura
, so it can be unstable with other System Environments, likeWindows
orLinux
. - Before run, basic settings of
Git
must be done. If these settings are empty or wrong, Program might be have strange results.- Default User and Email
yong@macBookAir ~/$ git config --global user.name $USER_NAME yong@macBookAir ~/$ git config --global user.email $USER_EMAIL
- Default Branch Name of Git
yong@macBookAir ~/$ git config --global init.defaultBranch master
- And also, all permissions about File Management must be granted to our program.
Clone
our project to your favorite directory, and move into there.
yong@macBookAir ~/$ git clone https://github.com/CAU-OSS-2023-Team15/Project-1 Project1
yong@macBookAir ~/$ cd Project1
- Install Dependency Packages for
Node.JS
.
yong@macBookAir ~/Project1$ npm install
- Compile and run our project.
start
command is defined atpackage.json
.
yong@macBookAir ~/Project1$ npm start
- As mentioned above 'Check before Run' Paragraph, if
Git
basic settings are wrong, Program might be unstable. WrongGit
basic settings means thatHint
is printed when useGit
command onShell
Environment, program cannot read the command result correctly. - Sometimes after compile and run, buttons in program don't work. Tried to fix it, but this issue is from Original Project, and it doesn't make any Error Logs, so we could not define the cause. It will work after re-compile.
- Click
Git Init
Button inside a directory, that is not managed withGit
, and.git
directory will be created and be ready forGit
Usage.
- You can manage Staging status of file with
Git
Submenu ofContext Menu
when right-click each file. Submenu Content will be consisted by Staging status of the file, check table below for detail.
Git Status | Submenu Content |
---|---|
Untracked | Add to Stage |
Staged | Unstage |
Committed Unmodified |
Untrack Delete Rename |
- If there is any file which
Git Status
isStaged
, you can clickGit Commit
Button for commit them. A dialog for enteringCommit Message
will be rendered, and you can click Button for complete commit.
- You can manage Branchess with
Git
Submenu ofContext Menu
when right-click Empty Area ofGit-Managed
Directory. It containsCreate
,Delete
,Rename
,Checkout
. ForCreate
, name input dialog will be rendered, and for the others, select a branch dialog will be rendered.
- You can merge other branch to current branch with
Git Merge
button at Top Menu. You can select a branch for merging from dialog, if Auto-Merge fails, it will be automatically abort the merge process and notify unmerged paths at right bottom of window.
- You can check
Commit History
andBranch Graph
withGit History
button at Top Menu. When click, history list with branch graph will be rendered to dialog, and if you click commit point (*
), you can check detail information of each commits. It is same withgit show
command.
- With
Git Clone
button of Top menu, you can clone a Remote Repository. It only supportshttps
type, not thessh
type. Public Repository can be cloned with only URL, and if you select Private Repository, you must enter Remote ID and Token/PW. The Private Data inputted will be stored to local file namedGithubInfo.txt
.