Advertisement
chech

git reset --hard affected more than one branch

Oct 24th, 2014
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. chech ~/my_dir [my_branch] (2) $ git push -f
  2. warning: push.default is unset; its implicit value is changing in
  3. Git 2.0 from 'matching' to 'simple'. To squelch this message
  4. and maintain the current behavior after the default changes, use:
  5.  
  6. git config --global push.default matching
  7.  
  8. To squelch this message and adopt the new behavior now, use:
  9.  
  10. git config --global push.default simple
  11.  
  12. See 'git help config' and search for 'push.default' for further information.
  13. (the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
  14. 'current' instead of 'simple' if you sometimes use older versions of Git)
  15.  
  16. Total 0 (delta 0), reused 0 (delta 0)
  17. To git@my_git_repo.git
  18. + XXXXXXX...YYYYYYY master -> master (forced update)
  19. + ZZZZZZZ...AAAAAAA my_branch -> my_branch (forced update)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement