Last active
September 14, 2022 14:56
-
-
Save MinhasKamal/f95c69822e29191c01d9dce4d9606f2a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> init a git branch | |
git checkout devel/multimedia/master | |
git branch | |
git fetch origin devel/multimedia/master | |
git reset --hard FETCH_HEAD | |
git pull --rebase | |
git status | |
git clean -f | |
git clean -d -f | |
git config core.filemode false | |
git config core.autocrlf true | |
git config user.name "Minhas Kamal" | |
git config user.email "minhas.kamal@s##.com" | |
scp -p -P 29418 [email protected]##.net:hooks/commit-msg .git/hooks/ | |
git status | |
git log | |
>> init a new repo | |
git init | |
git config core.filemode false | |
git config core.autocrlf input | |
git config user.name "Minhas Kamal" | |
git config user.email "minhas.kamal@s##.com" | |
git add -A | |
git status | |
git commit -m "initialize project" | |
git branch | |
git branch -M main | |
git remote add origin [email protected]##.net:minhas-kamal/SelfDiagnostics.git | |
git push -u origin main | |
>> stash | |
git stash | |
git stash list | |
git stash pop | |
>> merge branch to master | |
git checkout devel/multimedia/master | |
git branch | |
git fetch origin devel/multimedia/master | |
git reset --hard FETCH_HEAD | |
git pull --rebase | |
git config core.filemode false | |
git config user.name "Minhas Kamal" | |
git config user.email "minhas.kamal@s##.com" | |
scp -p -P 29418 [email protected]##.net:hooks/commit-msg .git/hooks/ | |
git status | |
cat <project>/t##-manifest.xml [copy and update the version in commit message] [quit with ':q'] | |
git checkout w/master | |
git branch | |
git fetch origin w/master | |
git reset --hard FETCH_HEAD | |
git pull --rebase | |
git merge --no-ff --no-commit devel/multimedia/master | |
git status | |
git commit -sm "Release 2.0.45 | |
[Model] Wearable | |
[BinType] AP | |
[Customer] N/A | |
[Issue#] N/A | |
[Request] N/A | |
[Occurrence Version] N/A | |
[Problem] N/A | |
[Cause & Measure] Release new version | |
[Checking Method] N/A | |
[Team] SRBD T## Team | |
[Developer] Minhas Kamal(minhas.kamal) | |
[Solution company] S## R&D Institute Bangladesh | |
[Change Type] Merge branch 'devel/call/tizenw' | |
" | |
git status | |
git push --receive-pack='git receive-pack --reviewer sa##.r@s##.com --reviewer an.sa##@s##.com --reviewer ar##.n@s##.com --reviewer md.z##@s##.com' origin HEAD:refs/for/w/master | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git push origin master