Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • N Nemo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 89
    • Issues 89
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • NEMO WorkspaceNEMO Workspace
  • Nemo
  • Merge requests
  • !2

Revert trunk to initial commit 2

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Miguel Castrillo requested to merge revert_trunk_to_initial_commit_2 into main Nov 30, 2021
  • Overview 1
  • Commits 0
  • Pipelines 0
  • Changes 0

New branch to revert the main/trunk status to commit 3dd9d8af

mcastril@bsces107905:~/tmp/nemo$ git checkout -b revert_trunk_to_initial_commit_2
Switched to a new branch 'revert_trunk_to_initial_commit_2'
mcastril@bsces107905:~/tmp/nemo$ git reset --hard 3dd9d8af2b122824314b848f81973d3a110eef92
HEAD is now at 3dd9d8a Updated sette functions to work correctly after multiple commits
mcastril@bsces107905:~/tmp/nemo$ git reset --soft 522ad4c17a862abefe4d59a8513cf1754948a8e9 
mcastril@bsces107905:~/tmp/nemo$ git diff 3dd9d8af2b122824314b848f81973d3a110eef92

First, I reset the files (reset --hard) to the commit we want to go back to. Then, I move back to the current HEAD (git reset --soft) without modifying any file.

The diff shows no differences 3dd9d8af

@clem @smasson

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: revert_trunk_to_initial_commit_2