WorkStats
Currently under development. Please contact us if you are interested.
install node for mac
~
)git clone https://github.com/Suchica/workstats.git
to clone WorkStats repositorycode .
to open the repository in VSCode or you can use your favorite editornpm install
to install necessary packagessecrets.json
and .env.local
npm run dev
to open this web site on local hostpwd
to check if you are in a root directory in your project.git branch --contain
to check if the current local branch is the master
local branch.git pull origin master
or just git pull
to pull, which means fetch and merge, the latest changes from the main remote branch to the main local branch.git checkout -b <feature/branch-name>
e.g. checkout -b feature/top-page
to create a new feature local branch with the latest changes and switch the current branch to it. git checkout -b xxx
is the same as git branch xxx
and git checkout xxx
.git checkout master
to switch back to the main local branch and git pull origin master
to pull the latest changes other members made from the main remote branch to the main local branch.git checkout <feature/branch-name>
to switch back to the feature local branch and git merge master
to merge the latest changes from the main local branch to the feature local branch. If there is no conflict, it will be merged successfully.git add .
to stage changes in <feature/branch-name>
in local repository.git commit -m "message"
to commit the changes to the feature branch in the local repository.git push origin <feature/branch-name>
to push the changes to the feature branch in the remote repository.git checkout master
and git pull origin master
to merge the latest changes from the remote main branch to the local main branch.