Skip to content

13XAVI/Git-Exercise-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bundle 1

Exerscise 1

git init
git branch -b master main
git add . 
git commit -m "adding changes"
git remote add origin https://github.com/13XAVI/TheGymSolution.git
git push origin main
git checkout -b dev
git checkout -b test
git checkout dev
git branch -d test

Exercise2

git stash save "Saving home.html to remote"
git stash save "Saving about.html  to remote"
git stash save "Saving team.html to remote"
git stash list
git stash pop 'stash@{1}'
git stash apply 'stash@{1}'
git stash pop 'stash@{0}'
git reset --hard HEAD

Bundle 2

Exercises 1

git checkout ft/bundle-2
Add Some Change in service.html
git add.
git commit -m "Add Some change in service.html"
git pull -u origin main
git merge the request

Exercise 2

git checkout main
git pull 
git checkout -b ft/service-redesign
git add .
git add service.html
git commit -m "Add some change "
git push 
git push --set-upstream origin ft/service-redesign
git checkout main
git add service.html
git commit -m "Add some change "
git push origin main
git checkout ft/service-redesign
git diff main
git merge main
git add .
git commit
git push

Bundle 3

Exercises 1

git checkout -b ft/team-page
git add .
git commit " New changes"
git checkout main
git checkout -b ft/contact-page
git checkout ft/team-page
git git cherry-pick git cherry-pick 529edf3ee91d514de0f921299509787cb776fea5
git add . ,git commit ,git push
git checkout -b ft/faq-page
git add ,git commit ,git push
git git revert a5eff46291bcd9b2fe07021d48f2fdb75771928e
git push

Exercises 2

git checkout -b ft/home-page-redesign
git checkout main
git add .
git commit -m "Created New Branch"
git push
git checkout ft/home-page-redesign
git rebase main
git add .,git commit ,git push

Bundle 4

Exercises 1

git checkout main
git remote add git-copy https://github.com/13XAVI/Git-Exercise-Clone.git
git add .
git commit 
git push origin
git push git-copy

Exercises 2

git checkout ft/footer
git add footer.html
git commit -m "Add new file"
git add other changes
git commit -m "latest new file"
git push origin ft/footer
git checkout main
git checkout -b ft/squashing
git merge --squash ft/footer
git commit -m "footer changes squashing"
git push origin ft/squashing

Bundle 5

Exercises 1

deplpoyment Link: https://13xavi.github.io/TheGymSolution/

Exercise 2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages