Skip to content

mdmahikaishar/cgit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C Git (Custom Git)

Git command mapper.

Usage

cg help

Initilization

Initilize repo.
cg init
Uninitilize repo.
cg uninit

Commit

Commit with message
cg commit -m "MESSAGE"
Commit random message
cg commit -r

Add

Add files
cg add .
# or
cg add FILE-A FILE-B

Origin

Get Origin address
cg origin
Add origin
cg origin https://github.com/mdmahikaishar/custom-git.git

Branch.

Get current branch name.
cg branch
Go to branch.
cg branch main
Create new branch.
cg branch -c hello
Branch list
cg branch -l

Push

Push upstream.
cg push origin main

Status

cg status

Log

cg log

Merge

cg merge

Releases

No releases published

Packages

No packages published

Languages