[10:09 PM, 7/15/2021] +918409106318: 1.
Cd test
[Link] branch feature1
[Link] branch feature2
[Link] checkout feature1
[Link] [Link] and change the text to 'hello people'
[Link] add [Link]
[Link] commit -m "first"
[Link] checkout master
[Link] merge feature1
[Link] checkout feature2
[Link] to [Link] and change text to 'keep playing'
[Link] add [Link]
[Link] commit -m "second"
[Link] checkout master
[Link] merge feature2
[Link] all and change the text in [Link] to 'keep playing'
[Link] add [Link]
[Link] commit -m "final"
[Link] branch -d feature1
[Link] branch -d feature2
[Link] ../quotes
[Link] the text in [Link] ' copy from Q till... Mahatma Gandhi'
[Link] add [Link]
[Link] commit -m "q"
[Link] pull origin master
[Link] pull origin master --allow-unrelated-histories
[Link] chec…
[10:09 PM, 7/15/2021] +918409106318: Working on Remote
(Git commit hands-on)
(Enter means, press enter)
[Link] the terminal
2. Type "cd test" then press enter
3. Type "git init" press enter
4. Type "git remote add origin ../.assessment/remote/" press enter
5. Type "git remote -v" press enter
6. Type "git push origin master" enter
7. Type "git add ." (dot is mandatory) enter
8. Type "git commit -m 'first' " enter
9. Type "git push origin master" enter
10. Type "cd .." (double dot mandatory) enter
11. Type "bash .clone_sh" enter
12. Type "cd test" enter
13. Type "git pull origin master" enter
14. Type "cd ../clone" enter
15. Type "git clone <given url>" enter ( don't include < >)
16. Test it. Run it.
It shows 100 % while running and testing..
Happy hands-on 🔥
[10:09 PM, 7/15/2021] +918409106318: Working on Remote
(Git commit hands-on)
(Enter means, press enter)
[Link] the terminal
2. Type "cd test" then press enter
3. Type "git init" press enter
4. Type "git remote add origin ../.assessment/remote/" press enter
5. Type "git remote -v" press enter
6. Type "git push origin master" enter
7. Type "git add ." (dot is mandatory) enter
8. Type "git commit -m 'first' " enter
9. Type "git push origin master" enter
10. Type "cd .." (double dot mandatory) enter
11. Type "bash .clone_sh" enter
12. Type "cd test" enter
13. Type "git pull origin master" enter
14. Type "cd ../clone" enter
15. Type "git clone <given url>" enter ( don't include < >)
16. Test it. Run it.
It shows 100 % while running and testing..
Happy hands-on 🔥
[10:09 PM, 7/15/2021] +918409106318: [Link]
remote-rebase-conflict-undo-changes-oneline-head/
[10:09 PM, 7/15/2021] +918409106318: (Tried for Only for android 9 and above)
1. Open the file from teams in Excel or Word or Office365 app.
2. Choose the save a copy option.
3. Choose Onedrive TCS COM PROD.
4. Rename & Save the file.
5. Now open the Onedrive app.
6. In files tab there appears the saved file.
7. Open the file and edit.
8. Changes would be made automatically as it's a cloud file.
9. Now Open the Submission link provided in the Teams app through Onedrive app.
10. Choose you appropriate folder. (Say Ex: A1)
11. Choose add file or Upload Option.
12. There opens the file selector. (Android 9 or above)
13. Choose your TCS COM PROD account in the file selector.
14. Go to files folder.
15. There appears your saved(edited) file.
16. Select and Upload the file.
[10:09 PM, 7/15/2021] +918409106318: Branch n merge conflicts
cd test
git checkout -b feature1
git checkout -b feature2
git checkout feature1
vi [Link]
git add .
git commit -m 'updated'
git checkout master
git merge feature1
git checkout feature2
vi [Link]
git add .
git commit -m 'updated'
git checkout master
git merge feature2
vi [Link]
git add .
git commit -m 'updated'
vi [Link]
git branch -d feature1
git branch -d feature2
cd ..
cd quotes
vi [Link]
git add .
git commit -m 'added'
git pull origin master --allow-unrelated-histories
git checkout --ours [Link]
git add .
git commit -m 'added'
git push origin master
[10:09 PM, 7/15/2021] +918409106318: Undo changes
cd test
vi [Link]
git add .
git commit -m 'a'
vi [Link]
git checkout [Link]
vi [Link]
git add .
git commit --amend
git add .
git reset [Link]
vi [Link]
git add .
git log --oneline
git commit -m 'a'
git revert the_topmost_commit_no_from_the_above_command
git revert HEAD~3
[10:09 PM, 7/15/2021] +918409106318: Rebase
git clone ./assessment...
cd checkNumber
vi check_number.py
git add check_number.py
git commit -m "<message>"
git fetch origin master
git diff master origin/master
git pull --rebase origin master
vi check_number.py
>>#Read......or odd //delete everything else from <<<<<HEAD to #blue comment
git add check_number.py
git rebase --continue
git log
git push origin master
[10:09 PM, 7/15/2021] +918409106318: [Link]
[10:09 PM, 7/15/2021] +918409106318: [Link]