Skip to content

vikasd989/vikas_git_quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Vikas Wakatriyavikasd989
Vikas Wakatriya
and
Jul 31, 2017
36aaa2b · Jul 31, 2017

History

8 Commits
Jul 31, 2017
Jul 31, 2017

Repository files navigation

TechRacers Git Quiz

N|Solid

Problems

1. Change author and committer name of multiple commits.

Commits Messages Author/Commiter
ad7a9e1 (HEAD -> master) Added some new paragraph Shivam Jaiswal <[email protected]>
4cd4658 Changed some Data Shivam Jaiswal <[email protected]>
fec1146 Replaced whole data Shivam Jaiswal <[email protected]>
b52c62d Added another paragraph Shivam Jaiswal <[email protected]>
e9f2d8e Added Dummy Data to file Shivam Jaiswal <[email protected]>
0b7fc5d Added Html Data to index.html Shivam Jaiswal <[email protected]>
3f85dad Added index.html Shivam Jaiswal <[email protected]>

Make it like

Commits Messages Author/Commiter
ad7a9e1 (HEAD -> master) Added some new paragraph Your Name <[email protected]>
4cd4658 Changed some Data Your Name <[email protected]>
fec1146 Replaced whole data Your Name <[email protected]>
b52c62d Added another paragraph Your Name <[email protected]>
e9f2d8e Added Dummy Data to file Your Name <[email protected]>
0b7fc5d Added Html Data to index.html Your Name <[email protected]>
3f85dad Added index.html Your Name <[email protected]>

2. Bring back all changes back from listed commits without using git reset

Commits Messages Author/Commiter
ad7a9e1 Added some new paragraph Shivam Jaiswal <[email protected]>
4cd4658 Changed some Data Shivam Jaiswal <[email protected]>

3. Create new branch

Make a new branch from staging with Added Second File commit as a HEAD and get Added Third File and Added Fourth File commit of hot_fixes and develop on newly created branch.

staging

	Added Eigth File    HEAD -> staging
		|
		|
		|
	Added Second File
		|
		|
		|
	Added First File

develop

	Added Sixth File    HEAD -> develop
		|
		|
		|
	Added Fourth File
		|
		|
		|
        Added Seventh File

hot_fixes

	Added Third File    HEAD -> hot_fixes
		|
		|
		|
	Added Ninth File
		|
		|
		|
	Added Fifth File

New Branch should look like this and have following commits.

new_branch


	Added Fourth File    HEAD -> new_branch
		|
		|
		|
	Added Third File
		|
		|
		|
	Added Second File
		|
		|
		|
	Added First File

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages