Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Polskie forum (Polish) Polish OTW
  • Search

[SOLVED] git usunął pliki

Rozmowy nie związane ściśle z Gentoo

Moderator: SlashBeast

Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
Author
Message
donmateo
Tux's lil' helper
Tux's lil' helper
Posts: 96
Joined: Tue Dec 25, 2007 11:39 pm

[SOLVED] git usunął pliki

  • Quote

Post by donmateo » Tue Mar 22, 2011 6:04 pm

Witajcie,
przez nieuwagę zrobiłem git pull w katalogu, do którego wrzuciłem bardzo, bardzo ważne pliki.

Code: Select all

~/semestr/opto/opto4 $ mv dane.ods ../opto-4/
...
~/semestr/opto/opto-4 $ git add 
dane.ods  .git/     
donmateo@gentoolka ~/semestr/opto/opto-4 $ git add dane.ods 
donmateo@gentoolka ~/semestr/opto/opto-4 $ git push origin master
fatal: Not a git repository
error: src refspec master does not match any.
error: failed to push some refs to 'git@...opto-4.git'
teraz stworzyłem jakiś plik na serwerze, dałem git pull i dane.ods znikneło :(
Czy git naprawdę usunął ten plik? Proszę o pomoc.
Last edited by donmateo on Sat Mar 26, 2011 9:34 pm, edited 1 time in total.
Top
SlashBeast
Retired Dev
Retired Dev
User avatar
Posts: 2922
Joined: Tue May 23, 2006 11:50 am
Contact:
Contact SlashBeast
Website

  • Quote

Post by SlashBeast » Tue Mar 22, 2011 7:35 pm

Git pull nie powinien nic takiego zrobic, powinienes dostac merge error i nie powinien ruszac plikow.

Dodales plik ale go nie wycommitowales anyway.
Top
donmateo
Tux's lil' helper
Tux's lil' helper
Posts: 96
Joined: Tue Dec 25, 2007 11:39 pm

  • Quote

Post by donmateo » Tue Mar 22, 2011 9:08 pm

no tak, nie zrobiłem commita - czyli co? usunięty?
Top
SlashBeast
Retired Dev
Retired Dev
User avatar
Posts: 2922
Joined: Tue May 23, 2006 11:50 am
Contact:
Contact SlashBeast
Website

  • Quote

Post by SlashBeast » Fri Mar 25, 2011 11:43 am

Moved from Polskie forum (Polish) to Polish OTW.
Top
donmateo
Tux's lil' helper
Tux's lil' helper
Posts: 96
Joined: Tue Dec 25, 2007 11:39 pm

  • Quote

Post by donmateo » Sat Mar 26, 2011 9:33 pm

ok, udało mi się odzyskać ten usunięty plik. Nigdy nie wierzyłem w programy typu dls+foremost, a one jednak działają! Super! Po takich przygodach chyba nigdy nie zapomnę o git commit : )
Top
Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Polish OTW”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy