Genel bir depom var. Hiç kimse başka bir şey için çatal atmadı, çekti ya da başka bir şey yapmadı. Bir dosyaya küçük değişiklikler yaptım, bunları başarılı bir şekilde yaptım ve zorlamaya çalıştım. 'Her şey güncel' diyor. Şubesi yok. Gitmek için çok ama çok yeniyim ve yeryüzünde neler olduğunu anlamıyorum.git push, her zaman güncel olmayan herşeyi anlatıyor
git remote show origin
söylüyor:
HEAD branch: master
Remote branch:
master tracked
Local ref configured for 'git push':
master pushes to master (up to date)
Bu bugüne kadar DEĞİL anlıyoruz yapmak için neler yapabileceğini Herhangi fikirler?
Teşekkür
Güncellemeler: git status
:
# On branch master # Untracked files: # (use "git add ..." to include in what will be committed) # # histmarkup.el # vendor/yasnippet-0.6.1c/snippets/ no changes added to commit (use "git add" and/or "git commit -a")
git branch -a
:
* master remotes/origin/master
git fsck
:
dangling tree 105cb101ca1a4d2cbe1b5c73eb4a238e22cb4998 dangling tree 85bd0461f0fcb1618d46c8a80d3a4a7932de34bb
Güncelleştirme 2: Değiştirilen dosyayı yeniden açtım ve yaptığımı bildiğim değişiklikler gitmişti. Bu yüzden tekrar ekledim, git status
, git add filename
, git commit -m "(message)"
ve git push origin master
teçhizatından geçtiniz ve aniden bu şekilde olması gerektiği gibi çalışıyor.
Güncelleme 3: git reflog
çıkışı:
009251 [email protected]{0}: commit: added copy/paste keybindings 06920f9 [email protected]{1}: commit: Minor .gitignore tweak 84aa30c [email protected]{2}: checkout: moving from master to master 84aa30c [email protected]{3}: checkout: moving from ec16cca979045547a5444e20f48ed468dee81dd4 to master ec16cca [email protected]{4}: commit: Added keybindings for copy/paste 5c4a611 [email protected]{5}: commit: remember-mode keybinding to M-R f3e4729 [email protected]{6}: commit: Correcting last push which wiped out some stuff fa28a3e [email protected]{7}: checkout: moving from master to fa28a3ed80eb0c6d4375ae77060d5cb4143d6a8e^0 84aa30c [email protected]{8}: commit: Modified keybindings, added LaTeX hook 10e7718 [email protected]{9}: commit: Added a few keybindings d62378b [email protected]{10}: commit (initial): first commit
Nasıl ittiniz? Push komutunun çıktısı neydi? 'Git log --decorate' size ne gösterir? –
"git push origin master" ile itildim. Çıktı "Her şey güncel" idi. 'git log --decorate' dünün de dahil olmak üzere 3 adet işi gösteriyor, ama bugünkü değil. – Wolf
Diğer taraftan çekmeyi denediniz mi? İşe yarıyor mu? – Tom