- Move to the
C:/
folder.
- Run the following command to clone the repository:
git clone https://github.com/marouane-tabib/CustomGitCommands.git
- Navigate into the cloned repository:
- Click on the
downloader.cmd
file.
- Configure Git with your name and email using the following command:
git launch <user.name> <user.email>
Set General Configuration
git launch <user.name> <user.email>
git config-git <user.name> <user.email>
Get Current Hosting Service (Github/GitLab)
Get Current Creational Repository Status (Public/Private)
Switch Creational Repository Status
Setup Project with Default Workflow (main, dev, base)
git setup-project-workflow <repo-name>
Setup Project and Create Repository
git setup-project <repo-name>
Setup Default Workflow (main, dev, base)
Task's Interaction Options
git start <branch-name|task-key>
Move Branch to Development
git to-dev <branch-name|task-key>
git to-development <branch-name|task-key>
Move Branch to Production
git to-prod <branch-name|task-key>
git to-production <branch-name|task-key>
Commit with Current Branch Name
Commit -am
with Current Branch Name
Commit add .
with Current Branch Name
Show the HEAD Value of the Current Branch
@marouane-tabib