cd ~/Desktop && mkdir FOLDER_NAME && cd FOLDER_NAME
git clone --mirror https://github.com/xyz/XYZ.git .git
git config --bool core.bare false
git reset --hard
---------------------
git branch
git checkout BRANCH_NAME
git pull https://github.com/xyz/XYZ.git BRANCH_NAME
When Ever you want Update git.
Command to update:
git pull URL branch
Ex:git git pull https://github.com/xyz/XYZ.git BRANCH_NAME
copy the files to appropriate folders
cd to git repository.
git add .
git commit
Make sure the list of files displayed is only UI files. If yes step. else Contact me
git push URL branch
Ex:git push https://github.com/xyz/XYZ.git BRANCH_NAME
Use your git account to perform all git operations.
To Give The commit messages you show follow below commands.
shift + i
esc
:wq
To Start node js server and redirect logs to some file, follow below commands
Node js
nohup npm start FOLDERNAME > npm.log 2>&1 &
Forever:
forever server.js FOLDERNAME > npm.log 2>&1 &
git clone --mirror https://github.com/xyz/XYZ.git .git
git config --bool core.bare false
git reset --hard
---------------------
git branch
git checkout BRANCH_NAME
git pull https://github.com/xyz/XYZ.git BRANCH_NAME
When Ever you want Update git.
Command to update:
git pull URL branch
Ex:git git pull https://github.com/xyz/XYZ.git BRANCH_NAME
copy the files to appropriate folders
cd to git repository.
git add .
git commit
Make sure the list of files displayed is only UI files. If yes step. else Contact me
git push URL branch
Ex:git push https://github.com/xyz/XYZ.git BRANCH_NAME
Use your git account to perform all git operations.
To Give The commit messages you show follow below commands.
shift + i
esc
:wq
To Start node js server and redirect logs to some file, follow below commands
Node js
nohup npm start FOLDERNAME > npm.log 2>&1 &
Forever:
forever server.js FOLDERNAME > npm.log 2>&1 &
Comments
Post a Comment