Bundle 2

Exercise 1

pull request: https://github.com/danielerat/gitExercises/pull/1

exercise 2

Pull request: https://github.com/danielerat/gitExercises/pull/4

git switch -C ft/service-redesign
 
git add services.html
 
git commit -m "Redesigning the service page"
 
git switch main
 
git add service.html
 
git commit -m "Additional changes to the service page"
 
git push
 

Bundle 3

pull 1 team page https://github.com/danielerat/gitExercises/pull/5

pull cherry picking https://github.com/danielerat/gitExercises/pull/6

pull reverting https://github.com/danielerat/gitExercises/pull/7

git switch -C ft/team-page
 
echo "" > team.html
 
git add . 
 
git push -u origin ft/team-page
 
git switch main
 
git switch -C ft/contact-page  
 
git switch ft/team-page
 
git log --oneline --all --graph
	#output	
	  #* cd56139 (HEAD -> ft/team-page, origin/ft/team-page) Addi..
 
git switch ft/contact-page
 
git add . 
 
git commit -m "Changes after picking cherries" #😂
 
git push -u origin ft/contact-page
 
# Faq Branch
git switch -C ft/faq-page
git add . 
git commit -m "Adding the faq page"
git push -u origin ft/faq-page
 
git revert cd56139
 
git commit . 
git commit -m "Reverting from the ft/team commit"
git push
 

Exercise 2

git switch -C ft/home-page-redesign
git add . 
git commit -m "Redesign the home page"
git push 
 
git switch ft/home-page-redesign
git rebase main 
git add . 
git commit -m "Commit after rebasing from the main branch"
git push

https://github.com/danielerat/gitExercises/pull/8

Bundle 4

exercise 1

 
git remote add git-copy https://github.com/danielerat/gitExercisesClone.git
	# git remote 
		# git-copy
		# origin
git add home.html
git commit -m "Changes on the home page"
 
git push origin
git push git-copy

Exexrcise 2

git switch -C ft/footer
 
echo "" > footer.html
git add footer.html
git commit -m "Adding our footer"
 
git add footer.html
git commit -m "Updating our footer"
 
git push -u origin ft/footergt
 
git switch main
 
git switch -C ft/squashing
 
git merge --squash ft/footer
 
git commit -m "footer changes squashing"
git push --set-upstream origin ft/squashing

Pulls https://github.com/danielerat/gitExercises/pull/9 https://github.com/danielerat/gitExercises/pull/10