Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8263373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:04:42+00:00 2026-06-08T04:04:42+00:00

I Have a problem with git My problem is the following, when I make

  • 0

I Have a problem with git
My problem is the following, when I make a pull:

git pull origin example

Until there Perfect!!, Then I make a

rm -Rf rootdirectory

Then

git commit -am "Delete files"

and Then again I make a pull because I need this files

git pull origin example

but it isn’t get again the rootdirectory

This is a message:

Already up-to-date.

How I can do for get the files with git pull again?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T04:04:43+00:00Added an answer on June 8, 2026 at 4:04 am

    The reason git pull does not change anything is that you are not pulling data from the remote repository, you are pulling changes. And there are no changes for git to pull!

    Git is not a data store. It’s a version control system

    However, if you want to checkout the previous state you can easily do that:

    git checkout HEAD~1
    

    This means you are resetting your working copy to the previous state before the latest commit.

    If however, you would like to completely remove the commit that deleted the files, you can do that as well:

    git reset --hard HEAD~1
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been experiencing the following problem when updating a local repository with PULL
I have problem developing with live555. I already build the lib-files and example projects
I have the following problem: We have a large product which is in master
This question is based on the thread . I have the following Git-prompt at
I have a problem installing gems for tracks. I performed the following steps: Installation
I am getting my feet wet with Git and have the following issue: My
I'm starting tests to move from cvs to git, and I have a problem
I ran the following code to pull files from windows git repository. git pull
I have a big problem with git-svn: I need to just push my git
I have the following Python lines: import subprocess subprocess.Popen(egrep -r --exclude=*{.git,.svn}* \text\ ~/directory, stdout=subprocess.PIPE,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.