git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* GIT Question
@ 2016-01-20 21:28 Draggs, Tori
  2016-01-22 16:51 ` Johannes Schindelin
  0 siblings, 1 reply; 8+ messages in thread
From: Draggs, Tori @ 2016-01-20 21:28 UTC (permalink / raw)
  To: git@vger.kernel.org

Specs:
MacBook Pro 
OS X Yosemite
2.6 GHz Intel Core i5, 8GN 1600 MHz DDR3

After selecting the Git option in a recent install of Visual Studio Code 2015 for MAC, my filesystem was removed. I can no longer access any of the local files stored on my machine. After researching many blogs/websites to no avail I am reaching out to you.  I contacted Apple Support who instructed me to contact the developers for GIT.
 
I am a struggling college student interested in a development career. After spending nearly a year to save up for my laptop - seeing everything gone after a few lines of code is more than devastating.  I am new to GIT and am overwhelmed by the breadth of information available.  If you could share your expertise and guide me to a resource that may address this issue I would be so very grateful.  This is my first real project and I was trying to get myself set up with Visual Studio Code 2015 for Mac.  I know that is not your concern, so getting back to my inquiry - specifically I am looking for information on rolling back a possible commit that removed my entire MacBook Pro file system. I have the .bash_history and am including it below. 

git
git status
git log
git rm
git rm -r
--r
git -r
--r git
git
git diff
git log
git status
git log -diff-filter=D -summary
git log -diff-filter=D -summary
git log -diff-filter=D -author=Parent -summary
gitcheckout <commit>~1 (I believe this is where things exploded)
git fsck -lost-found
ls  .git/lost-found/other
ls.git/lost-found/other
git fsck -lost-found ls .git/lost-found/other
git stash
git pull -rebase
git stash pop
git reflog
git checkout -b branch-name c3a4103
git fsck -lost-found ls unreachable
open .git/lost-found/other
cd .git/lost-found/othergit cat-file -p c3a4103
git rm -rf
git reset -hard
git resert -hard
--help
Help
Restore
--restore

--While there is more I don't believe it will assist with your investigation.  If the full file is needed, I would be more than happy to forward it to your attention.   




Thank you again for your time and expertise.  

Tori Draggs
Tori.draggs@mercy.net
Techgeek2013@gmail.com
Github: https://github.com/gnugal314 

This electronic mail and any attached documents are intended solely for the named addressee(s) and contain confidential information. If you are not an addressee, or responsible for delivering this email to an addressee, you have received this email in error and are notified that reading, copying, or disclosing this email is prohibited. If you received this email in error, immediately reply to the sender and delete the message completely from your computer system.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GIT Question
  2016-01-20 21:28 GIT Question Draggs, Tori
@ 2016-01-22 16:51 ` Johannes Schindelin
       [not found]   ` <1E23015B9294604195E5EBA53602E115FCF59F@WDC-VMAILBOXP25.smrcy.com>
  0 siblings, 1 reply; 8+ messages in thread
From: Johannes Schindelin @ 2016-01-22 16:51 UTC (permalink / raw)
  To: Draggs, Tori; +Cc: git@vger.kernel.org

Hi Tori,

On Wed, 20 Jan 2016, Draggs, Tori wrote:

> Specs:
> MacBook Pro 
> OS X Yosemite
> 2.6 GHz Intel Core i5, 8GN 1600 MHz DDR3
> 
> After selecting the Git option in a recent install of Visual Studio Code
> 2015 for MAC, my filesystem was removed.

Can you call Visual Studio Code? If so, the filesystem was definitely not
removed, so that's good news.

> I can no longer access any of the local files stored on my machine.

The most likely cause is that you are now looking somewhere else than
where the files are actually. Could you use the magnifying glass on the
upper right hand corner to search for a file name of the files you had
previously?

Ciao,
Johannes

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: GIT Question
       [not found]   ` <1E23015B9294604195E5EBA53602E115FCF59F@WDC-VMAILBOXP25.smrcy.com>
@ 2016-01-22 17:08     ` Johannes Schindelin
  2016-01-22 17:22       ` Draggs, Tori
  0 siblings, 1 reply; 8+ messages in thread
From: Johannes Schindelin @ 2016-01-22 17:08 UTC (permalink / raw)
  To: Draggs, Tori; +Cc: git

Hi Tori,

please reply-to-all. I really have no time to serve as your personal,
free-of-cost help desk. But I am willing to help on the mailing list.

On Fri, 22 Jan 2016, Draggs, Tori wrote:

> Hi.  I am able to pull up Visual Studio Code.  But none of my local
> files.  I tried using the magnifying glass as well as the Go To feature
> and when performing a search I am informed that the file is not found. 

Were your files inside the .app, or did you store them in your Documents/
folder?

Ciao,
Johannes

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: GIT Question
  2016-01-22 17:08     ` Johannes Schindelin
@ 2016-01-22 17:22       ` Draggs, Tori
  2016-01-22 17:58         ` Santiago Torres
  0 siblings, 1 reply; 8+ messages in thread
From: Draggs, Tori @ 2016-01-22 17:22 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: git@vger.kernel.org

I apologize, however my intent in reaching out was not to seek free of cost help desk services.  After speaking with Apple they suggested that I contact both Git and Code developers for feedback on the commands I used prior to the potential file removal.  

I appreciate your assistance thus far and will reach out to the mailing list as you've described below.  Again thank you for your time and have a good day. 

-----Original Message-----
From: Johannes Schindelin [mailto:Johannes.Schindelin@gmx.de] 
Sent: Friday, January 22, 2016 11:09 AM
To: Draggs, Tori
Cc: git@vger.kernel.org
Subject: RE: GIT Question

Hi Tori,

please reply-to-all. I really have no time to serve as your personal,
free-of-cost help desk. But I am willing to help on the mailing list.

On Fri, 22 Jan 2016, Draggs, Tori wrote:

> Hi.  I am able to pull up Visual Studio Code.  But none of my local
> files.  I tried using the magnifying glass as well as the Go To feature
> and when performing a search I am informed that the file is not found. 

Were your files inside the .app, or did you store them in your Documents/
folder?

Ciao,
Johannes
This electronic mail and any attached documents are intended solely for the named addressee(s) and contain confidential information. If you are not an addressee, or responsible for delivering this email to an addressee, you have received this email in error and are notified that reading, copying, or disclosing this email is prohibited. If you received this email in error, immediately reply to the sender and delete the message completely from your computer system.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: GIT Question
  2016-01-22 17:22       ` Draggs, Tori
@ 2016-01-22 17:58         ` Santiago Torres
  0 siblings, 0 replies; 8+ messages in thread
From: Santiago Torres @ 2016-01-22 17:58 UTC (permalink / raw)
  To: Draggs, Tori; +Cc: Johannes Schindelin, git@vger.kernel.org

On Fri, Jan 22, 2016 at 05:22:16PM +0000, Draggs, Tori wrote:
> I apologize, however my intent in reaching out was not to seek free of cost help desk services.

Don't worry, just use reply to all so everyone can see and chime in if
they can help.

> > Hi.  I am able to pull up Visual Studio Code.  But none of my local
> > files.  I tried using the magnifying glass as well as the Go To feature
> > and when performing a search I am informed that the file is not found. 

I see you were able to run git log, what do you see in it? as it might
shed some light on what happened.

-Santiago.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Git Question
@ 2018-03-29  1:49 Mark Wartman
  2018-03-29  1:58 ` Taylor Blau
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Wartman @ 2018-03-29  1:49 UTC (permalink / raw)
  To: git

Hello,

I am currently running git version 2.10.1 (Apple Git-78).  When I run git config —list:   it returns
credential.helper-osxkeychain
filter.lfs.clean=git=lfs clean — %f
filter.lfs.smudge=git-lfs smudge — %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
user.name=markwartman1
user.email=markwartman@d2l.lonestar.edu

I am following this tutorial and I expected to only see user.name & user.email, so what are the filters.lfs’s and the credential.helper?  Should I ignore them, or try to get rid of them?  Please advise.  

What is the best way to upgrade to a newer stable version of git?

Thanks,

Mark

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Git Question
  2018-03-29  1:49 Git Question Mark Wartman
@ 2018-03-29  1:58 ` Taylor Blau
       [not found]   ` <15759EC4-0867-44B3-995D-6EC121A6EC4C@gmail.com>
  0 siblings, 1 reply; 8+ messages in thread
From: Taylor Blau @ 2018-03-29  1:58 UTC (permalink / raw)
  To: Mark Wartman; +Cc: git

On Wed, Mar 28, 2018 at 08:49:19PM -0500, Mark Wartman wrote:
> I am following this tutorial and I expected to only see user.name &
> user.email, so what are the filters.lfs’s and the credential.helper?
> Should I ignore them, or try to get rid of them?  Please advise.

The `filter.lfs` configuration is set by Git LFS [1] in order to
correctly filter large files into your working copy.

You can safely ignore these, or remove them if you are not using Git
LFS.

> What is the best way to upgrade to a newer stable version of git?

On macOS, you can use Homebrew [2] to install any version of Git.
Install the latest via:

  brew update && brew install git

Thanks,
Taylor

[1]: https://git-lfs.github.com
[2]: https://brew.sh

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Git Question
       [not found]   ` <15759EC4-0867-44B3-995D-6EC121A6EC4C@gmail.com>
@ 2018-04-01  3:15     ` Taylor Blau
  0 siblings, 0 replies; 8+ messages in thread
From: Taylor Blau @ 2018-04-01  3:15 UTC (permalink / raw)
  To: Mark Wartman; +Cc: git

On Sat, Mar 31, 2018 at 09:06:53PM -0500, Mark Wartman wrote:
> I saw this pretty exhaustive .gitignore list that a GitHub Help page
> linked to: 9257657 <https://gist.github.com/octocat/9257657> .  Are
> these configurations from the list something one should install on the
> User/global level, or do you recommend managing it in each and every
> project repository?

If those appear helpful for your project(s), then sure; but this is up
to you.

> Concerning these items below, when I said I get these when running a:
> git config —list
>
> credential.helper-osxkeychain
> filter.lfs.clean=git=lfs clean — %f
> filter.lfs.smudge=git-lfs smudge — %f
> filter.lfs.process=git-lfs filter-process
> filter.lfs.required=true
>
> I suspect that the GitHub GUI tool has installed them.  Do you find
> that possible?  I ask because I did not write them.

Yes, I believe that GitHub Desktop runs 'git lfs install', which adds
these to your configuration.


Thanks,
Taylor

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-04-01  3:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-29  1:49 Git Question Mark Wartman
2018-03-29  1:58 ` Taylor Blau
     [not found]   ` <15759EC4-0867-44B3-995D-6EC121A6EC4C@gmail.com>
2018-04-01  3:15     ` Taylor Blau
  -- strict thread matches above, loose matches on Subject: below --
2016-01-20 21:28 GIT Question Draggs, Tori
2016-01-22 16:51 ` Johannes Schindelin
     [not found]   ` <1E23015B9294604195E5EBA53602E115FCF59F@WDC-VMAILBOXP25.smrcy.com>
2016-01-22 17:08     ` Johannes Schindelin
2016-01-22 17:22       ` Draggs, Tori
2016-01-22 17:58         ` Santiago Torres

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).