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 8697091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:26:00+00:00 2026-06-13T01:26:00+00:00

On branch master # Your branch is ahead of ‘origin/master’ by 1 commit. #

  • 0
 On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
#
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#       deleted:    web/img/add-btn-bg.png
#       deleted:    web/img/add-tribute-button.png
#       deleted:    web/img/bottom-shadow.png
#       deleted:    web/img/database-line.png
#       deleted:    web/img/glyphicons-halflings-white.png
#       deleted:    web/img/glyphicons-halflings.png
#       deleted:    web/img/header-logo.png
#       deleted:    web/img/horizontal-line.png
#       deleted:    web/img/icons-btn.png
#       deleted:    web/img/icons.png
#       deleted:    web/img/line-bottom-menu.png
#       deleted:    web/img/never-forget.png
#       deleted:    web/img/tribute-icon-line.png
#       deleted:    web/img/uszatek.jpg
#       deleted:    web/img/uszatek_106.jpg
#       deleted:    web/img/uszatek_148.jpg
#       deleted:    web/img/uszatek_32.jpg
#       deleted:    web/img/uszatek_50.jpg
#
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#       modified:   web/app_dev.php
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       img/
#       randomNames.csv
#       sampledb.tgz
#       watch/
#       web/assets/
#       web/uploads/

I need have back file from “Changes to be commited”. How to do it?

  • 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-13T01:26:01+00:00Added an answer on June 13, 2026 at 1:26 am

    If you haven’t yet committed, here’s how to get a file back (using web/img/glyphicons-halflings-white.png as an example):

    git reset HEAD web/img/glyphicons-halflings-white.png
    git checkout -f web/img/glyphicons-halflings-white.png
    

    This will unstage the remove operation, and then restore the file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

git: Your branch is Ahead by X commits Git branch is ahead of origin/master
First, got your branch is ahead of origin/master by 3 commits then my app
I've done a fair bit of work (Your branch is ahead of 'origin/master' by
I am on a master branch 'master' and I have 1 commit ahead I
touch test git add test git commit -m test git push -u origin master
I have done the following: git add <filenames> git commit git push origin master:mybranch
Somehow my master and my origin/master branch have diverged. I actually don't want them
I've a master branch with a .gitignore file with directory X listed in it.
Possible Duplicate: git push error '[remote rejected] master -> master (branch is currently checked
Accidentally I forgot to open a new branch and committed my changes to the

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.